Merge pull request #297972 from UlyssesZh/fix-crystal-configure

crystal.buildCrystalPackage: fix a precedence mistake that prevents overriding configure phase
This commit is contained in:
éclairevoyant 2024-03-24 20:20:41 +00:00 committed by GitHub
commit acbdee7e49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 3 deletions

View File

@ -71,8 +71,7 @@ let
in
stdenv.mkDerivation (mkDerivationArgs // {
configurePhase = args.configurePhase or lib.concatStringsSep "\n"
(
configurePhase = args.configurePhase or (lib.concatStringsSep "\n" (
[
"runHook preConfigure"
]
@ -83,7 +82,7 @@ stdenv.mkDerivation (mkDerivationArgs // {
"cp shard.lock lib/.shards.info"
]
++ [ "runHook postConfigure" ]
);
));
CRFLAGS = lib.concatStringsSep " " defaultOptions;