Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther committed May 4, 2024
1 parent 8e7bc85 commit 6209dab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nix/static.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ let
# pkgsStatic is based on musl, so is a kind of cross-compilation.
# We still make this explicit here via pkgsCross, because we need
# to get postgresql/libpq for musl, too.
pkgsCross = pkgs.pkgsCross.musl64;
inherit (pkgsCross) pkgsStatic;
inherit (pkgs) pkgsStatic;
inherit (pkgsStatic.haskell) lib;

packagesStatic =
Expand All @@ -31,7 +30,7 @@ let
configureFlags = [ "-fuse-pkg-config" ];
# postgresql doesn't build in the fully static overlay - but the default
# derivation is built with static libraries anyway.
libraryPkgconfigDepends = [ pkgsCross.libpq ];
libraryPkgconfigDepends = [ pkgs.libpq ];
librarySystemDepends = [ ];
}).overrideAttrs (_: prevAttrs: {
buildInputs = prevAttrs.buildInputs ++ [
Expand Down

0 comments on commit 6209dab

Please sign in to comment.