Skip to content

Commit de4e8c8

Browse files
committed
nix: use pkgsMusl on linux
1 parent 53bccde commit de4e8c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flake.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
hlib = pkgs.haskell.lib;
6464

6565
# base hevm derivation.
66-
# parameterized on the pkgs definition to allow use of `pkgsStatic` or `pkgs` as needed.
66+
# parameterized on the pkgs definition to allow use of `pkgsMusl` or `pkgs` as needed.
6767
hevmBase = ps :
6868
ps.lib.pipe
6969
(((hspkgs ps).callCabal2nix "hevm" ./. {
@@ -94,7 +94,7 @@
9494
codesign_allocate = "${pkgs.darwin.binutils.bintools}/bin/codesign_allocate";
9595
codesign = "${pkgs.darwin.sigtool}/bin/codesign";
9696
in if pkgs.stdenv.isLinux
97-
then hlib.dontCheck (hevmBase pkgs.pkgsStatic)
97+
then hlib.dontCheck (hevmBase pkgs.pkgsMusl)
9898
else pkgs.runCommand "stripNixRefs" {} ''
9999
mkdir -p $out/bin
100100
cp ${hlib.dontCheck (forceStaticDepsMacos (hevmBase pkgs))}/bin/hevm $out/bin/
@@ -174,7 +174,7 @@
174174

175175
# --- packages ----
176176

177-
packages.ci = pkgs.lib.pipe (hevmBase (if pkgs.stdenv.isLinux then pkgs.pkgsStatic else pkgs)) (with hlib.compose; [doBenchmark dontHaddock disableLibraryProfiling]);
177+
packages.ci = pkgs.lib.pipe (hevmBase (if pkgs.stdenv.isLinux then pkgs.pkgsMusl else pkgs)) (with hlib.compose; [doBenchmark dontHaddock disableLibraryProfiling]);
178178
packages.unwrapped = hlib.dontCheck (hevmBase pkgs);
179179
packages.hevm = hevmWrapped;
180180
packages.redistributable = hevmRedistributable;

0 commit comments

Comments
 (0)