diff options
Diffstat (limited to 'machines')
-rw-r--r-- | machines/profpatsch/katara.nix | 1 | ||||
-rw-r--r-- | machines/profpatsch/pkgs.nix | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix index cd606cca..e7463ac7 100644 --- a/machines/profpatsch/katara.nix +++ b/machines/profpatsch/katara.nix @@ -147,6 +147,7 @@ in { pkgs.vuizvui.profpatsch.nix-gen # generate nix expressions pkgs.vuizvui.profpatsch.watch-server # restart server on code change pkgs.vuizvui.profpatsch.until # restart until cmd succeeds + myPkgs.execlineb-with-builtins ]; documentation = [ # mustache-spec NOT IN 16.09 diff --git a/machines/profpatsch/pkgs.nix b/machines/profpatsch/pkgs.nix index af95188c..68305a60 100644 --- a/machines/profpatsch/pkgs.nix +++ b/machines/profpatsch/pkgs.nix @@ -103,6 +103,15 @@ let --replace 'notify-send' '${notify-send}' ''; + # wrapper for execlineb that doesn’t need the execline commands + # in PATH to work (making them appear like “builtins”) + execlineb-with-builtins = + let eldir = "${pkgs.execline}/bin"; + in pkgs.writeScriptBin "execlineb" '' + #!${eldir}/execlineb -s0 + ${eldir}/importas oldpath PATH + env PATH=${eldir}:$${oldpath} exelineb $@ + ''; in { inherit @@ -117,5 +126,6 @@ in saneGhci /*searx*/ pyrnotify + exelineb-with-builtins ; } |