Skip to content

Commit 51add54

Browse files
authored
Update nix shell (#1574)
1 parent e8985df commit 51add54

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

shell.nix

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
gmp_static =
1010
gmp.overrideAttrs (old: { dontDisableStatic = true; });
1111
lzma_static =
12-
lzma.overrideAttrs (old: { dontDisableStatic = true; });
12+
xz.overrideAttrs (old: { dontDisableStatic = true; });
1313
in mkShell {
1414
nativeBuildInputs = [
1515
cabal-install
@@ -19,15 +19,18 @@
1919
haskellPackages.cabal-fmt
2020
hlint
2121
zlib.dev
22-
zlib.static
2322
git
24-
glibc.dev
25-
glibc.static
23+
pkg-config
24+
xz
2625
bzip2_static
2726
bzip2_static.dev
2827
libffi_static.dev
2928
gmp_static.dev
3029
lzma_static.dev
30+
] ++ lib.optionals stdenv.isLinux [
31+
zlib.static
32+
glibc.dev
33+
glibc.static
3134
];
3235
shellHook = ''
3336
export LANG=C.UTF-8

0 commit comments

Comments
 (0)