stdenv-linux: Turn allowedRequisites back on
This commit is contained in:
parent
a1d9c56389
commit
14d6454b9a
@ -8,14 +8,14 @@ rec {
|
||||
|
||||
|
||||
# Override the compiler in stdenv for specific packages.
|
||||
overrideGCC = stdenv: gcc: stdenv.override { inherit gcc; };
|
||||
overrideGCC = stdenv: gcc: stdenv.override { allowedRequisites = null; inherit gcc; };
|
||||
|
||||
|
||||
# Add some arbitrary packages to buildInputs for specific packages.
|
||||
# Used to override packages in stdenv like Make. Should not be used
|
||||
# for other dependencies.
|
||||
overrideInStdenv = stdenv: pkgs:
|
||||
stdenv.override (prev: { extraBuildInputs = prev.extraBuildInputs or [] ++ pkgs; });
|
||||
stdenv.override (prev: { allowedRequisites = null; extraBuildInputs = prev.extraBuildInputs or [] ++ pkgs; });
|
||||
|
||||
|
||||
# Override the setup script of stdenv. Useful for testing new
|
||||
|
@ -284,12 +284,10 @@ rec {
|
||||
shellPackage = stage4.pkgs.bash;
|
||||
};
|
||||
|
||||
/*
|
||||
allowedRequisites = with stage4.pkgs;
|
||||
[ gzip bzip2 xz bash binutils coreutils diffutils findutils gawk
|
||||
glibc gnumake gnused gnutar gnugrep gnupatch patchelf attr acl
|
||||
paxctl zlib pcre linuxHeaders ed gcc gcc.gcc libsigsegv ];
|
||||
*/
|
||||
|
||||
overrides = pkgs: {
|
||||
inherit gcc;
|
||||
|
Loading…
Reference in New Issue
Block a user