about summary refs log tree commit diff
path: root/pkgs/profpatsch/nix-tools.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/profpatsch/nix-tools.nix')
-rw-r--r--pkgs/profpatsch/nix-tools.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/profpatsch/nix-tools.nix b/pkgs/profpatsch/nix-tools.nix
index 0ea3fc00..557e6680 100644
--- a/pkgs/profpatsch/nix-tools.nix
+++ b/pkgs/profpatsch/nix-tools.nix
@@ -1,13 +1,12 @@
-{ pkgs, writeExecline, backtick, runblock, getBins }:
+{ pkgs, writeExecline, runblock, getBins }:
 
 let
   bins = getBins pkgs.nix [ "nix-build" "nix-instantiate" ];
 
   nix-run = writeExecline "nix-run" { argMode = "env"; } [
-    (backtick {
-      var = "storepath";
-      cmd = [ runblock "1" bins.nix-build ];
-    })
+    "backtick" "-iE" "storepath" [
+      runblock "1" bins.nix-build
+    ]
     runblock "-r" "2" "exec" "$storepath"
   ];