treewide: remove usage of runCommandNoCC aliases

This commit is contained in:
Sandro Jäckel 2022-06-07 16:57:06 +02:00
parent 3037752d1d
commit 43d4ddf28e
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
5 changed files with 5 additions and 6 deletions

View File

@ -19,7 +19,7 @@ let
# per debian's udev deb hook (https://man7.org/linux/man-pages/man1/dh_installudev.1.html) # per debian's udev deb hook (https://man7.org/linux/man-pages/man1/dh_installudev.1.html)
destination = "60-scdaemon.rules"; destination = "60-scdaemon.rules";
scdaemonUdevRulesPkg = pkgs.runCommandNoCC "scdaemon-udev-rules" {} '' scdaemonUdevRulesPkg = pkgs.runCommand "scdaemon-udev-rules" {} ''
loc="$out/lib/udev/rules.d/" loc="$out/lib/udev/rules.d/"
mkdir -p "''${loc}" mkdir -p "''${loc}"
cp "${scdaemonRules}" "''${loc}/${destination}" cp "${scdaemonRules}" "''${loc}/${destination}"

View File

@ -98,7 +98,7 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = [ environment.systemPackages = [
(pkgs.runCommandNoCC "captive-browser-desktop-item" { } '' (pkgs.runCommand "captive-browser-desktop-item" { } ''
install -Dm444 -t $out/share/applications ${desktopItem}/share/applications/*.desktop install -Dm444 -t $out/share/applications ${desktopItem}/share/applications/*.desktop
'') '')
]; ];

View File

@ -10,7 +10,6 @@ rec {
* *
* Examples: * Examples:
* runCommand "name" {envVariable = true;} ''echo hello > $out'' * runCommand "name" {envVariable = true;} ''echo hello > $out''
* runCommandNoCC "name" {envVariable = true;} ''echo hello > $out'' # equivalent to prior
* runCommandCC "name" {} ''gcc -o myfile myfile.c; cp myfile $out''; * runCommandCC "name" {} ''gcc -o myfile myfile.c; cp myfile $out'';
* *
* The `*Local` variants force a derivation to be built locally, * The `*Local` variants force a derivation to be built locally,

View File

@ -1,5 +1,5 @@
{ runCommandNoCC, cargo, neovim, rust-analyzer, rustc }: { runCommand, cargo, neovim, rust-analyzer, rustc }:
runCommandNoCC "test-neovim-rust-analyzer" { runCommand "test-neovim-rust-analyzer" {
nativeBuildInputs = [ cargo neovim rust-analyzer rustc ]; nativeBuildInputs = [ cargo neovim rust-analyzer rustc ];
testRustSrc = /* rust */ '' testRustSrc = /* rust */ ''

View File

@ -357,7 +357,7 @@ rec {
} // lib.mapAttrs (_name: type: elixirOr type) lib.types; } // lib.mapAttrs (_name: type: elixirOr type) lib.types;
}; };
generate = name: value: pkgs.runCommandNoCC name generate = name: value: pkgs.runCommand name
{ {
value = toConf value; value = toConf value;
passAsFile = [ "value" ]; passAsFile = [ "value" ];