From 584b3ba09fec13d96dcffae0bfe20aa6f059db87 Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Thu, 19 Oct 2023 16:20:39 +0200 Subject: [PATCH] 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. --- pkgs/top-level/all-packages.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 47b86d6cd467..11152a4fc72a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };