coreutils-full: avoid pulling in bootstrap openssl

pkgs.coreutils is built with dependencies from the previous bootstrap
stage, because it is part of stdenv. If we override it to enable
openssl support, we also get openssl from that stage instead of
pkgs.openssl.

Workaround by not overriding coreutils, but doing callPackage
again.
This commit is contained in:
Julian Stecklina
2023-10-19 17:56:34 +02:00
parent 86dd779e02
commit 584b3ba09f
+5 -1
View File
@@ -7239,7 +7239,11 @@ with pkgs;
cpcfs = callPackage ../tools/filesystems/cpcfs { };
coreutils = callPackage ../tools/misc/coreutils { };
coreutils-full = coreutils.override { minimal = false; };
# The coreutils above are built with dependencies from
# bootstrapping. We cannot override it here, because that pulls in
# openssl from the previous stage as well.
coreutils-full = callPackage ../tools/misc/coreutils { minimal = false; };
coreutils-prefixed = coreutils.override { withPrefix = true; singleBinary = false; };
corkscrew = callPackage ../tools/networking/corkscrew { };