pkgsStatic.perl: Use dontAddStaticConfigureFlags instead of overriding

Signed-off-by: Pamplemousse <xav.maso@gmail.com>
This commit is contained in:
Pamplemousse 2021-08-13 17:28:26 -07:00
parent adbf99843c
commit 1dbb306b87
2 changed files with 2 additions and 5 deletions

View file

@ -86,6 +86,8 @@ let
configureScript = optionalString (!crossCompiling) "${stdenv.shell} ./Configure";
dontAddStaticConfigureFlags = true;
dontAddPrefix = !crossCompiling;
enableParallelBuilding = !crossCompiling;

View file

@ -121,11 +121,6 @@ in {
if set ? overrideScope' then set.overrideScope' ocamlStaticAdapter else set
) super.ocaml-ng;
perl = super.perl.override {
# Dont use new stdenv zlib because
# it doesnt like the --disable-shared flag
stdenv = super.stdenv;
};
zlib = super.zlib.override {
# Dont use new stdenv zlib because