diff options
author | Profpatsch <mail@profpatsch.de> | 2019-12-08 15:06:59 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2019-12-08 15:09:33 +0100 |
commit | 6cd157f0133bcd074ff947f3e5397f0e8cdc2830 (patch) | |
tree | 4352a8b2f2be4cc508cdae672af8a679e98bb6f0 /pkgs/profpatsch/execline/write-execline.nix | |
parent | d4097ecdd5af72b803b622d0139095dacd9a3bdd (diff) |
machines/profpatsch,pkgs/profpatsch: rm `execlineb-with-builtins`
This has been upstreamed to nixpkgs proper, as a C wrapper script, in https://github.com/NixOS/nixpkgs/pull/71357 So we don’t even need bash to run execline anymore :P
Diffstat (limited to 'pkgs/profpatsch/execline/write-execline.nix')
-rw-r--r-- | pkgs/profpatsch/execline/write-execline.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/profpatsch/execline/write-execline.nix b/pkgs/profpatsch/execline/write-execline.nix index c2128ea3..f83aa2ed 100644 --- a/pkgs/profpatsch/execline/write-execline.nix +++ b/pkgs/profpatsch/execline/write-execline.nix @@ -1,4 +1,4 @@ -{ pkgs, execlineb-with-builtins }: +{ pkgs }: let escape = import ./escape.nix { inherit (pkgs) lib; }; @@ -6,7 +6,7 @@ let # Everything is escaped correctly. # TODO upstream into nixpkgs writeExeclineCommon = writer: name: { readNArgs ? 0 }: argList: writer name '' - #!${execlineb-with-builtins}/bin/execlineb -Ws${toString readNArgs} + #!${pkgs.execline}/bin/execlineb -Ws${toString readNArgs} ${escape.escapeExecline argList} ''; writeExecline = writeExeclineCommon pkgs.writeScript; |