mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 18:47:57 +03:00
gnugrep: 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
fa8c2ac3be
commit
125d947ed5
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, glibcLocales, fetchurl, pcre2, libiconv, perl }:
|
||||
{ lib, stdenv, glibcLocales, fetchurl, pcre2, libiconv, perl, runtimeShellPackage }:
|
||||
|
||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
||||
@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
||||
nativeCheckInputs = [ perl glibcLocales ];
|
||||
outputs = [ "out" "info" ]; # the man pages are rather small
|
||||
|
||||
buildInputs = [ pcre2 libiconv ];
|
||||
buildInputs = [ pcre2 libiconv runtimeShellPackage ];
|
||||
|
||||
# cygwin: FAIL: multibyte-white-space
|
||||
# freebsd: FAIL mb-non-UTF8-performance
|
||||
|
Loading…
Reference in New Issue
Block a user