diff options
author | Audrey Dutcher <audrey@rhelmot.io> | 2024-05-25 16:35:53 -0700 |
---|---|---|
committer | Audrey Dutcher <audrey@rhelmot.io> | 2024-05-26 23:23:18 -0700 |
commit | 63a8461b203c8d3b567eec1c858ece3d82dc9142 (patch) | |
tree | 6570593910e803830546df53e2b6ae11e586f5b1 | |
parent | edcb881454939192d684dbc2638f27383faf838f (diff) |
ed: Add runtimeShell to buildInputs
This package distributes shell scripts in /bin. Its shebangs are always patched to a /nix/store shell, but by default, they are patched to use the stdenv's shell, which during bootstrap is build in the previous stdenv. By using runtimeShell from the current stdenv, we can shorten the FreeBSD bootstrap process significantly.
-rw-r--r-- | pkgs/applications/editors/ed/generic.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/editors/ed/generic.nix b/pkgs/applications/editors/ed/generic.nix index 70ec6badf25ec..70ffdb4c4af93 100644 --- a/pkgs/applications/editors/ed/generic.nix +++ b/pkgs/applications/editors/ed/generic.nix @@ -13,12 +13,14 @@ , stdenv , fetchurl , lzip +, runtimeShellPackage }: stdenv.mkDerivation { inherit pname version src patches; nativeBuildInputs = [ lzip ]; + buildInputs = [ runtimeShellPackage ]; configureFlags = [ "CC=${stdenv.cc.targetPrefix}cc" |