diff options
author | Audrey Dutcher <audrey@rhelmot.io> | 2024-05-25 16:36:49 -0700 |
---|---|---|
committer | Audrey Dutcher <audrey@rhelmot.io> | 2024-05-26 23:24:01 -0700 |
commit | be0a824971392d38ceba9f871f4922f04e8e332f (patch) | |
tree | d970ff9e0d0dcd2ff52082ab6514243b585b6408 /pkgs/tools | |
parent | 63a8461b203c8d3b567eec1c858ece3d82dc9142 (diff) |
gzip: 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.
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/compression/gzip/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/compression/gzip/default.nix b/pkgs/tools/compression/gzip/default.nix index baff7f0303874..56803742d605e 100644 --- a/pkgs/tools/compression/gzip/default.nix +++ b/pkgs/tools/compression/gzip/default.nix @@ -2,6 +2,7 @@ , fetchurl , makeWrapper , xz +, runtimeShellPackage }: # Note: this package is used for bootstrapping fetchurl, and thus @@ -22,6 +23,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + buildInputs = [ runtimeShellPackage]; nativeBuildInputs = [ xz.bin makeWrapper ]; makeFlags = [ |