diff --git a/pkgs/development/compilers/sbcl/default.nix b/pkgs/development/compilers/sbcl/default.nix index f52393961665..86c0ddd52fab 100644 --- a/pkgs/development/compilers/sbcl/default.nix +++ b/pkgs/development/compilers/sbcl/default.nix @@ -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"