|
1 |
| -inputs@{ nixpkgs, haskellNix, iohkNix, ... }: |
| 1 | +inputs@{ nixpkgs, haskellNix, ... }: |
2 | 2 |
|
3 | 3 | let
|
4 | 4 |
|
|
14 | 14 |
|
15 | 15 |
|
16 | 16 | static-libraries-overlay = final: prev: {
|
17 |
| - static-libsodium-vrf = final.libsodium-vrf.overrideDerivation (old: { |
18 |
| - configureFlags = old.configureFlags ++ [ "--disable-shared" ]; |
19 |
| - }); |
20 |
| - static-secp256k1 = final.secp256k1.overrideDerivation (old: { |
21 |
| - configureFlags = old.configureFlags ++ [ "--enable-static" "--disable-shared" ]; |
22 |
| - }); |
23 |
| - dyn-static-secp256k1 = final.secp256k1.overrideDerivation (old: { |
24 |
| - configureFlags = old.configureFlags ++ [ "--enable-static" "--enable-shared" ]; |
25 |
| - }); |
| 17 | + # static-libsodium-vrf = final.libsodium-vrf.overrideDerivation (old: { |
| 18 | + # configureFlags = old.configureFlags ++ [ "--disable-shared" ]; |
| 19 | + # }); |
| 20 | + # static-secp256k1 = final.secp256k1.overrideDerivation (old: { |
| 21 | + # configureFlags = old.configureFlags ++ [ "--enable-static" "--disable-shared" ]; |
| 22 | + # }); |
| 23 | + # dyn-static-secp256k1 = final.secp256k1.overrideDerivation (old: { |
| 24 | + # configureFlags = old.configureFlags ++ [ "--enable-static" "--enable-shared" ]; |
| 25 | + # }); |
26 | 26 | static-gmp = (final.gmp.override { withStatic = true; }).overrideDerivation (old: {
|
27 | 27 | configureFlags = old.configureFlags ++ [ "--enable-static" "--disable-shared" ];
|
28 | 28 | });
|
29 |
| - static-libblst = (final.libblst.override { enableShared = false; }).overrideDerivation (old: { |
30 |
| - postFixup = ""; |
31 |
| - }); |
32 |
| - static-openssl = (final.openssl.override { static = true; }); |
33 |
| - static-zlib = final.zlib.override { shared = false; }; |
34 |
| - static-pcre = final.pcre.override { shared = false; }; |
| 29 | + # static-libblst = (final.libblst.override { enableShared = false; }).overrideDerivation (old: { |
| 30 | + # postFixup = ""; |
| 31 | + # }); |
| 32 | + # static-openssl = (final.openssl.override { static = true; }); |
| 33 | + # static-zlib = final.zlib.override { shared = false; }; |
| 34 | + # static-pcre = final.pcre.override { shared = false; }; |
35 | 35 | };
|
36 | 36 |
|
37 | 37 |
|
38 |
| - # This sets up the `pkgs`, by importing the nixpkgs flake and adding the |
39 |
| - # haskellNix overlay. We need the iohkNix overlays to get the necessary cryto |
40 |
| - # packages: secp256k1, blst, and libsodium. |
41 | 38 | mkNixpkgsForSystem = system: import nixpkgs {
|
42 | 39 |
|
43 | 40 | inherit system;
|
|
47 | 44 | inherit (haskellNix) config;
|
48 | 45 |
|
49 | 46 | overlays = with inputs; [
|
50 |
| - iohkNix.overlays.crypto |
| 47 | + # iohkNix.overlays.crypto |
51 | 48 | haskellNix.overlay
|
52 |
| - iohkNix.overlays.haskell-nix-extra |
53 |
| - iohkNix.overlays.haskell-nix-crypto |
54 |
| - iohkNix.overlays.cardano-lib |
55 |
| - iohkNix.overlays.utils |
| 49 | + # iohkNix.overlays.haskell-nix-extra |
| 50 | + # iohkNix.overlays.haskell-nix-crypto |
| 51 | + # iohkNix.overlays.cardano-lib |
| 52 | + # iohkNix.overlays.utils |
56 | 53 | static-libraries-overlay
|
57 | 54 | (import ./packaging.nix)
|
58 | 55 | ];
|
|
0 commit comments