sbcl: remove with statements

This commit is contained in:
Philip Taron 2024-08-16 13:50:18 -07:00
parent e9bf9df5e4
commit 835804ea26
No known key found for this signature in database

View File

@ -159,17 +159,17 @@ stdenv.mkDerivation (self: {
export HOME=$PWD/test-home
'';
enableFeatures = with lib;
assert assertMsg (self.markRegionGC -> self.threadSupport) "SBCL mark region GC requires thread support";
optional self.threadSupport "sb-thread" ++
optional self.linkableRuntime "sb-linkable-runtime" ++
optional self.coreCompression "sb-core-compression" ++
optional stdenv.isAarch32 "arm" ++
optional self.markRegionGC "mark-region-gc";
enableFeatures =
assert lib.assertMsg (self.markRegionGC -> self.threadSupport) "SBCL mark region GC requires thread support";
lib.optional self.threadSupport "sb-thread" ++
lib.optional self.linkableRuntime "sb-linkable-runtime" ++
lib.optional self.coreCompression "sb-core-compression" ++
lib.optional stdenv.isAarch32 "arm" ++
lib.optional self.markRegionGC "mark-region-gc";
disableFeatures = with lib;
optional (!self.threadSupport) "sb-thread" ++
optionals self.disableImmobileSpace [ "immobile-space" "immobile-code" "compact-instance-header" ];
disableFeatures =
lib.optional (!self.threadSupport) "sb-thread" ++
lib.optionals self.disableImmobileSpace [ "immobile-space" "immobile-code" "compact-instance-header" ];
buildArgs = [
"--prefix=$out"