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.
This commit is contained in:
Audrey Dutcher 2024-05-25 16:36:49 -07:00
parent 63a8461b20
commit be0a824971

View File

@ -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 = [