nix: allow static compilation

This commit is contained in:
Domen Kožar
2020-06-08 17:47:44 -05:00
committed by Matthew Bauer
parent 2f79f25963
commit c86af902f4
2 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ in {
enableShared = false;
};
mkl = super.mkl.override { enableStatic = true; };
nix = super.nix.override { withAWS = false; };
nix = super.nix.override { enableStatic = true; };
openssl = (super.openssl_1_1.override { static = true; }).overrideAttrs (o: {
# OpenSSL doesn't like the `--enable-static` / `--disable-shared` flags.
configureFlags = (removeUnknownConfigureFlags o.configureFlags);