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