File tree Expand file tree Collapse file tree 1 file changed +29
-26
lines changed Expand file tree Collapse file tree 1 file changed +29
-26
lines changed Original file line number Diff line number Diff line change @@ -83,39 +83,42 @@ pkgs.mkShell {
8383 export DYLD_LIBRARY_PATH="${ lib . getLib openssl } /lib"
8484 '' ;
8585
86- buildInputs = [
86+ buildInputs =
87+ let
88+ inherit ( pkgs ) lib stdenv ;
89+ inherit ( lib ) attrValues optional optionals ;
90+ in [
8791 wrapped-cabal
8892 fixup-nix-deps
8993 compiler
90- ] ++ ( with pkgs ; [
91- ( pkgs . pkg-config or pkgconfig )
9294 # for libstdc++; ghc not being able to find this properly is bad,
9395 # it _should_ probably call out to a g++ or clang++ but doesn't.
9496 stdenv . cc . cc . lib
95- ] ) ++ map pkgs . lib . getDev (
96- with pkgs ;
97- [
98- zlib
99- pcre
100- openssl
101- ]
102- ++ pkgs . lib . optional pkgs . stdenv . hostPlatform . isLinux systemd
103- )
104- ++ builtins . attrValues haskell-tools
105- ++ pkgs . lib . optional withIOG
106- ( with pkgs ; [
107- cddl
108- cbor-diag
109- gh
110- jq
111- yq-go
97+ ]
98+ ++ ( with pkgs ; [
99+ openssl
100+ pcre
101+ pkg-config
102+ zlib
103+ ] )
104+ ++ optional stdenv . hostPlatform . isLinux pkgs . systemd
105+ ++ optionals withIOG (
106+ with pkgs ; [
107+ cbor-diag
108+ cddl
109+ gh
110+ icu
111+ jq
112+ libblst
113+ libsodium-vrf
114+ secp256k1
115+ yq-go
112116 ]
113- ++ map pkgs . lib . getDev ( with pkgs ; [ libblst libsodium-vrf secp256k1 icu ]
114- ++ pkgs . lib . optional ( withIOGFull ) [
115- ( if pkgs . stdenv . hostPlatform . isAarch64 then null else R ) # for plutus; R is broken on aarch64
116- postgresql # for db-sync
117- ] ) )
118- ;
117+ ++ optionals withIOGFull (
118+ [ postgresql ] ++ ( optional stdenv . hostPlatform . isAarch64 R )
119+ )
120+ ++ attrValues haskell-tools
121+ ) ;
119122
120123 passthru = {
121124 plans = if haskell-tools == { } then { } else
You can’t perform that action at this time.
0 commit comments