File tree Expand file tree Collapse file tree 3 files changed +2
-28
lines changed Expand file tree Collapse file tree 3 files changed +2
-28
lines changed Original file line number Diff line number Diff line change 3
3
nixpkgs . follows = "haskellNix/nixpkgs" ;
4
4
5
5
haskellNix . url = "github:input-output-hk/haskell.nix" ;
6
-
7
- # iohkNix.url = "github:input-output-hk/iohk-nix";
8
6
} ;
9
7
10
8
Original file line number Diff line number Diff line change 13
13
] ;
14
14
15
15
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
- # });
16
+ static-gmp-overlay = final : prev : {
26
17
static-gmp = ( final . gmp . override { withStatic = true ; } ) . overrideDerivation ( old : {
27
18
configureFlags = old . configureFlags ++ [ "--enable-static" "--disable-shared" ] ;
28
19
} ) ;
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
20
} ;
36
21
37
22
44
29
inherit ( haskellNix ) config ;
45
30
46
31
overlays = with inputs ; [
47
- # iohkNix.overlays.crypto
48
32
haskellNix . overlay
49
- # iohkNix.overlays.haskell-nix-extra
50
- # iohkNix.overlays.haskell-nix-crypto
51
- # iohkNix.overlays.cardano-lib
52
- # iohkNix.overlays.utils
53
- static-libraries-overlay
33
+ static-gmp-overlay
54
34
( import ./packaging.nix )
55
35
] ;
56
36
} ;
Original file line number Diff line number Diff line change 64
64
] ;
65
65
packages . nix-tools . ghcOptions = [
66
66
"-L${ pkgs . lib . getLib pkgs . static-gmp } /lib"
67
- # "-L${pkgs.lib.getLib pkgs.static-libsodium-vrf}/lib"
68
- # "-L${pkgs.lib.getLib pkgs.static-secp256k1}/lib"
69
- # "-L${pkgs.lib.getLib pkgs.static-openssl}/lib"
70
- # "-L${pkgs.lib.getLib pkgs.static-libblst}/lib"
71
67
] ;
72
68
} ;
73
69
You can’t perform that action at this time.
0 commit comments