mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 21:33:49 +00:00
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:
parent
63a8461b20
commit
be0a824971
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user