Skip to content

Commit 5212c99

Browse files
committed
Move libsodium fix into test/overlay.nix
1 parent 7ae37af commit 5212c99

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

ci.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,9 @@
2929
(final: prev: {
3030
haskell-nix = prev.haskell-nix // {
3131
inherit checkMaterialization;
32-
extraPkgconfigMappings = prev.haskell-nix.extraPkgconfigMappings or {} // {
33-
"libsodium" = [ "libsodium-18" ];
34-
};
3532
};
36-
libsodium-18 = (final.callPackage (inputs.nixpkgs-2311 + "/pkgs/development/libraries/libsodium") {}).overrideAttrs (_: { dontDisableStatic = true; });
3733
})
34+
(import ./test/overlay.nix)
3835
];
3936
# Needed for dwarf tests
4037
config = haskellNix.config // {

test/overlay.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
final: prev: {
2+
haskell-nix = prev.haskell-nix // {
3+
extraPkgconfigMappings = prev.haskell-nix.extraPkgconfigMappings or {} // {
4+
"libsodium" = [ "libsodium-18" ];
5+
};
6+
};
7+
libsodium-18 = (final.callPackage (final.haskell-nix.sources.nixpkgs-2311 + "/pkgs/development/libraries/libsodium") {}).overrideAttrs (_: { dontDisableStatic = true; });
8+
}

0 commit comments

Comments
 (0)