mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
sbcl: assert coreCompression -> !purgeNixReferences
This commit is contained in:
parent
db339f1706
commit
f7ed1663f3
@ -94,7 +94,14 @@ stdenv.mkDerivation (self: rec {
|
||||
strace
|
||||
]
|
||||
);
|
||||
buildInputs = lib.optionals coreCompression [ zstd ];
|
||||
buildInputs = lib.optionals coreCompression (
|
||||
# Declare at the point of actual use in case the caller wants to override
|
||||
# buildInputs to sidestep this.
|
||||
assert lib.assertMsg (!purgeNixReferences) ''
|
||||
Cannot enable coreCompression when purging Nix references, because compression requires linking in zlib
|
||||
'';
|
||||
[ zstd ]
|
||||
);
|
||||
|
||||
patches = lib.optionals (lib.versionOlder self.version "2.4.2") [
|
||||
# Fixed in 2.4.2
|
||||
|
Loading…
Reference in New Issue
Block a user