Skip to content

Commit 4cf6138

Browse files
committed
fix(overlay): Include pistache and rapidsnark packages only on Linux
1 parent 914fc7e commit 4cf6138

File tree

1 file changed

+41
-37
lines changed

1 file changed

+41
-37
lines changed

overlay.nix

Lines changed: 41 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
_finalNixpkgs: prevNixpkgs: let
22
inherit (prevNixpkgs) callPackage symlinkJoin fetchFromGitHub;
3+
inherit (prevNixpkgs.lib) optionalAttrs;
34

45
solana-rust-artifacts = callPackage ./packages/solana-rust-artifacts {};
56

@@ -103,41 +104,44 @@ _finalNixpkgs: prevNixpkgs: let
103104
inherit ffiasm zqfield-bn254 rapidsnark pistache;
104105
};
105106
in {
106-
metacraft-labs = rec {
107-
solana = solana-full-sdk;
108-
inherit cosmos-theta-testnet;
109-
inherit circom;
110-
111-
# Disabled until cvc4 compiles again
112-
# inherit circ;
113-
114-
inherit wasmd;
115-
116-
# ElrondGo:
117-
inherit ledgercomm;
118-
inherit cryptography36;
119-
inherit cattrs22-2;
120-
inherit requests-cache;
121-
# Disabled until elrond-go can build with Go >= 1.19
122-
# Issue #65
123-
# inherit elrond-go;
124-
# inherit elrond-proxy-go;
125-
# inherit erdpy;
126-
127-
inherit go-opera;
128-
inherit leap;
129-
inherit eos-vm;
130-
inherit cdt;
131-
132-
# Ethereum
133-
inherit nimbus;
134-
inherit go-ethereum-capella;
135-
136-
inherit pistache;
137-
inherit zqfield-bn254;
138-
inherit ffiasm;
139-
inherit circom_runtime;
140-
inherit rapidsnark;
141-
inherit rapidsnark-server;
142-
};
107+
metacraft-labs =
108+
rec {
109+
solana = solana-full-sdk;
110+
inherit cosmos-theta-testnet;
111+
inherit circom;
112+
113+
# Disabled until cvc4 compiles again
114+
# inherit circ;
115+
116+
inherit wasmd;
117+
118+
# ElrondGo:
119+
inherit ledgercomm;
120+
inherit cryptography36;
121+
inherit cattrs22-2;
122+
inherit requests-cache;
123+
# Disabled until elrond-go can build with Go >= 1.19
124+
# Issue #65
125+
# inherit elrond-go;
126+
# inherit elrond-proxy-go;
127+
# inherit erdpy;
128+
129+
inherit go-opera;
130+
inherit leap;
131+
inherit eos-vm;
132+
inherit cdt;
133+
134+
# Ethereum
135+
inherit nimbus;
136+
inherit go-ethereum-capella;
137+
138+
inherit zqfield-bn254;
139+
inherit ffiasm;
140+
inherit circom_runtime;
141+
inherit rapidsnark;
142+
}
143+
// optionalAttrs (prevNixpkgs.hostPlatform.isLinux) {
144+
inherit pistache;
145+
inherit rapidsnark-server;
146+
};
143147
}

0 commit comments

Comments
 (0)