about summary refs log tree commit diff
path: root/pkgs/profpatsch/testing
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/profpatsch/testing
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/profpatsch/testing')
-rw-r--r--pkgs/profpatsch/testing/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/profpatsch/testing/default.nix b/pkgs/profpatsch/testing/default.nix
index 21f814e4..76d43ecc 100644
--- a/pkgs/profpatsch/testing/default.nix
+++ b/pkgs/profpatsch/testing/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, runCommand, lib
+{ stdenv, runCommandLocal, lib
 , runExecline, bin }:
 
 let
@@ -15,13 +15,11 @@ let
   drvSeqL = drvDeps: drvOut: let
   drvOutOutputs = drvOut.outputs or ["out"];
   in
-    runCommand drvOut.name {
+    runCommandLocal drvOut.name {
       # we inherit all attributes in order to replicate
       # the original derivation as much as possible
       outputs = drvOutOutputs;
       passthru = drvOut.drvAttrs;
-      preferLocalBuild = true;
-      allowSubstitutes = false;
       # depend on drvDeps (by putting it in builder context)
       inherit drvDeps;
     }