babashka: reduce closure size
Before: ``` $ nix path-info -S ./result -h /nix/store/6jsb0zpq531w9iymyzaik7lksppgw31k-babashka-0.6.1 2.0G ``` After: ``` $ nix path-info -S ./result -h /nix/store/fay0p3hiiic4kd4fk0xyczl1ff8sjcp1-babashka-0.6.1 116.6M ```
This commit is contained in:
parent
d909c0c1f1
commit
e7b3740842
|
@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# https://github.com/babashka/babashka/blob/v0.6.1/script/compile#L41-L52
|
||||
args=("-jar" "$BABASHKA_JAR"
|
||||
"-H:CLibraryPath=${graalvm11-ce.lib}/lib"
|
||||
# Required to build babashka on darwin. Do not remove.
|
||||
"${lib.optionalString stdenv.isDarwin "-H:-CheckToolchain"}"
|
||||
"-H:Name=$BABASHKA_BINARY"
|
||||
|
|
Loading…
Reference in a new issue