Merge pull request #80112 from vcunat/p/glibc-python
glibc: use python3Minimal instead of python3
This commit is contained in:
commit
108304675f
2 changed files with 3 additions and 5 deletions
|
@ -24,7 +24,7 @@
|
|||
, gd ? null, libpng ? null
|
||||
, libidn2
|
||||
, bison
|
||||
, python3
|
||||
, python3Minimal
|
||||
}:
|
||||
|
||||
{ name
|
||||
|
@ -155,7 +155,7 @@ stdenv.mkDerivation ({
|
|||
outputs = [ "out" "bin" "dev" "static" ];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ bison python3 ];
|
||||
nativeBuildInputs = [ bison python3Minimal ];
|
||||
buildInputs = [ linuxHeaders ] ++ lib.optionals withGd [ gd libpng ];
|
||||
|
||||
# Needed to install share/zoneinfo/zone.tab. Set to impure /bin/sh to
|
||||
|
|
|
@ -36,9 +36,7 @@ let
|
|||
|
||||
outputs = [ "bin" "dev" "out" "man" ] ++ optional withDocs "doc";
|
||||
setOutputFlags = false;
|
||||
separateDebugInfo = !(stdenv.hostPlatform.useLLVM or false)
|
||||
&& stdenv.hostPlatform == stdenv.buildPlatform # unable to fix infinite recursion on stdenv.cc
|
||||
&& stdenv.cc.isGNU;
|
||||
separateDebugInfo = !(stdenv.hostPlatform.useLLVM or false) && stdenv.cc.isGNU;
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
buildInputs = stdenv.lib.optional withCryptodev cryptodev;
|
||||
|
|
Loading…
Reference in a new issue