mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
crystal: add support for passing custom build options when using the shard builder
This commit is contained in:
parent
d4de0d5628
commit
8a9421f028
|
@ -77,7 +77,7 @@ stdenv.mkDerivation (mkDerivationArgs // {
|
|||
'')
|
||||
crystalBinaries)
|
||||
++ lib.optional (format == "shards")
|
||||
"shards build --local --production ${lib.concatStringsSep " " defaultOptions}"
|
||||
"shards build --local --production ${lib.concatStringsSep " " (args.options or defaultOptions)}"
|
||||
++ [ "runHook postBuild" ]));
|
||||
|
||||
installPhase = args.installPhase or (lib.concatStringsSep "\n" ([
|
||||
|
|
Loading…
Reference in a new issue