about summary refs log tree commit diff
path: root/pkgs/taalo-build
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2019-12-08 13:40:38 +0100
committerProfpatsch <mail@profpatsch.de>2019-12-08 13:55:01 +0100
commit5e0baa153e62f8a66462622474e5cd0ee4206b22 (patch)
tree0f1682c3b137feebd5cf3e50814203ff784db1eb /pkgs/taalo-build
parentf3bc66cbbc4e14940c5b05b1078d1b40fb9807ee (diff)
treewide: use `runCommandLocal` where applicable
`runCommandLocal` was added to nixpkgs in
https://github.com/NixOS/nixpkgs/pull/74642
to speed up trivial `runCommand` derivations by always building them
locally. We have a few places where that’s good to use.
Diffstat (limited to 'pkgs/taalo-build')
-rw-r--r--pkgs/taalo-build/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/taalo-build/default.nix b/pkgs/taalo-build/default.nix
index 383b974f..09ff41d4 100644
--- a/pkgs/taalo-build/default.nix
+++ b/pkgs/taalo-build/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, runCommand, coreutils, nixUnstable }:
+{ stdenv, lib, runCommandLocal, coreutils, nixUnstable }:
 
 let
   nixRemote = "ssh-ng://nix-remote-build@taalo.headcounter.org?compress=true";
@@ -16,7 +16,7 @@ let
   emitScript = content:
     "echo -n ${lib.escapeShellArg "#!${stdenv.shell}\nset -e\n${content}"}";
 
-in runCommand "taalo-build" {} ''
+in runCommandLocal "taalo-build" {} ''
   mkdir -p "$out/bin"
 
   ${emitScript (''