zprint: reduce closure size

Before:

```
nix path-info -S ./result -h
/nix/store/06i7frz4c4plpcmws5l57rqfd0nm20lm-zprint-1.1.2	  1.9G
```

After:

```
$ nix path-info -S ./result -h
/nix/store/irhavk9z81cgz3jwqxm7v7svmxdpqp9k-zprint-1.1.2	 93.4M
```
This commit is contained in:
Thiago Kenji Okada 2021-10-02 11:47:59 -03:00
parent 72971ccccb
commit e4a1d32922

View file

@ -24,6 +24,7 @@ stdenv.mkDerivation rec {
-H:Name=${pname} \ -H:Name=${pname} \
-H:EnableURLProtocols=https,http \ -H:EnableURLProtocols=https,http \
-H:+ReportExceptionStackTraces \ -H:+ReportExceptionStackTraces \
-H:CLibraryPath=${graalvm11-ce.lib}/lib \
${lib.optionalString stdenv.isDarwin ''-H:-CheckToolchain''} \ ${lib.optionalString stdenv.isDarwin ''-H:-CheckToolchain''} \
--report-unsupported-elements-at-runtime \ --report-unsupported-elements-at-runtime \
--initialize-at-build-time \ --initialize-at-build-time \