Skip to content

Commit 9d36c00

Browse files
michaelpjkderme
authored andcommitted
Fix secp256k1 dep
1 parent 1cf8dda commit 9d36c00

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

nix/haskell.nix

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,14 @@ let
152152
})
153153
({ pkgs, ... }: {
154154
# Use the VRF fork of libsodium when building cardano-node
155-
packages =
156-
lib.genAttrs [ "cardano-crypto-praos" "cardano-crypto-class" ] (_: {
157-
components.library.pkgconfig =
158-
lib.mkForce [ [ pkgs.libsodium-vrf ] ];
159-
});
155+
packages = {
156+
cardano-crypto-praos.components.library.pkgconfig = lib.mkForce [
157+
[ pkgs.libsodium-vrf ]
158+
];
159+
cardano-crypto-class.components.library.pkgconfig = lib.mkForce [
160+
[ pkgs.libsodium-vrf pkgs.secp256k1 ]
161+
];
162+
};
160163
})
161164
];
162165
};

0 commit comments

Comments
 (0)