s/runCommandNoCC/runCommand/g

This commit is contained in:
notgne2 2022-09-26 16:16:29 -07:00
parent bc69ec704f
commit 0b8ab3c52c
Signed by: notgne2
GPG Key ID: 5CE0A245A2DAC84A
3 changed files with 5 additions and 5 deletions

View File

@ -128,7 +128,7 @@ in
config = config =
let let
colorsJson = builtins.toFile "colors.json" (builtins.toJSON cfg.base16); colorsJson = builtins.toFile "colors.json" (builtins.toJSON cfg.base16);
themeHashOut = pkgs.runCommandNoCC "theme-hash" { } '' themeHashOut = pkgs.runCommand "theme-hash" { } ''
cat ${colorsJson} | ${pkgs.coreutils}/bin/sha256sum | ${pkgs.coreutils}/bin/head -c 8 > $out cat ${colorsJson} | ${pkgs.coreutils}/bin/sha256sum | ${pkgs.coreutils}/bin/head -c 8 > $out
''; '';
themeHash = builtins.readFile themeHashOut; themeHash = builtins.readFile themeHashOut;
@ -239,7 +239,7 @@ in
show_labs_settings = true; show_labs_settings = true;
}; };
base16FromImageSrc = pkgs.runCommandNoCC "auto-image-base16" { } '' base16FromImageSrc = pkgs.runCommand "auto-image-base16" { } ''
${schemer2}/bin/schemer2 -format img::colors -in ${cfg.baseColors} -out colors.txt && ${pkgs.python3}/bin/python3 ${inputs.auto-base16-theme}/AutoBase16Theme.py ${inputs.auto-base16-theme}/templates/base16-template.yaml auto-image-base16.yaml ${schemer2}/bin/schemer2 -format img::colors -in ${cfg.baseColors} -out colors.txt && ${pkgs.python3}/bin/python3 ${inputs.auto-base16-theme}/AutoBase16Theme.py ${inputs.auto-base16-theme}/templates/base16-template.yaml auto-image-base16.yaml
${pkgs.yaml2json}/bin/yaml2json < auto-image-base16.yaml > $out ${pkgs.yaml2json}/bin/yaml2json < auto-image-base16.yaml > $out
''; '';

View File

@ -178,7 +178,7 @@ in
pname = "firenvim"; pname = "firenvim";
src = inputs.firenvim; src = inputs.firenvim;
# yes im stupid # yes im stupid
version = builtins.readFile (pkgs.runCommandNoCC "firenvim-version" { } '' version = builtins.readFile (pkgs.runCommand "firenvim-version" { } ''
${pkgs.jq}/bin/jq -j .version < ${inputs.firenvim}/package.json > $out ${pkgs.jq}/bin/jq -j .version < ${inputs.firenvim}/package.json > $out
''); '');
}) })

View File

@ -22,7 +22,7 @@ let
ranges = map(lambda r: list(r.address_exclude(serverNetwork)), ranges) ranges = map(lambda r: list(r.address_exclude(serverNetwork)), ranges)
print(':'.join(ranges)) print(':'.join(ranges))
''; '';
rangesOutput = pkgs.runCommandNoCC "exclusionary-wildcard-ranges" { } '' rangesOutput = pkgs.runCommand "exclusionary-wildcard-ranges" { } ''
${pkgs.python3}/bin/python3 ${generateRangesScript} > $out ${pkgs.python3}/bin/python3 ${generateRangesScript} > $out
''; '';
in in
@ -36,7 +36,7 @@ let
n1 = ipaddress.ip_network('${vlanIP}/${toString vlanSize}', False) n1 = ipaddress.ip_network('${vlanIP}/${toString vlanSize}', False)
print(n1, end="") print(n1, end="")
''; '';
subnetOutput = pkgs.runCommandNoCC "subnet-without-host-bits" { } '' subnetOutput = pkgs.runCommand "subnet-without-host-bits" { } ''
${pkgs.python3}/bin/python3 ${generateSubnetScript} > $out ${pkgs.python3}/bin/python3 ${generateSubnetScript} > $out
''; '';
in in