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:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user