crystal.buildCrystalPackage: fix a precedence mistake that prevents overriding configure phase
This commit is contained in:
parent
20f77aa099
commit
23dfcf5c2d
|
@ -71,8 +71,7 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation (mkDerivationArgs // {
|
stdenv.mkDerivation (mkDerivationArgs // {
|
||||||
|
|
||||||
configurePhase = args.configurePhase or lib.concatStringsSep "\n"
|
configurePhase = args.configurePhase or (lib.concatStringsSep "\n" (
|
||||||
(
|
|
||||||
[
|
[
|
||||||
"runHook preConfigure"
|
"runHook preConfigure"
|
||||||
]
|
]
|
||||||
|
@ -83,7 +82,7 @@ stdenv.mkDerivation (mkDerivationArgs // {
|
||||||
"cp shard.lock lib/.shards.info"
|
"cp shard.lock lib/.shards.info"
|
||||||
]
|
]
|
||||||
++ [ "runHook postConfigure" ]
|
++ [ "runHook postConfigure" ]
|
||||||
);
|
));
|
||||||
|
|
||||||
CRFLAGS = lib.concatStringsSep " " defaultOptions;
|
CRFLAGS = lib.concatStringsSep " " defaultOptions;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user