Skip to content

Commit bb5393f

Browse files
committed
More fixes
1 parent caf5098 commit bb5393f

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

extras/haskell.nix/plutus.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ let
4040
# FIXME: contentAddressed = true;
4141
reinstallableLibGhc = false; # See https://github.com/input-output-hk/haskell.nix/issues/1939
4242
packages = {
43-
cardano-crypto-class.components.library.pkgconfig = pkgs.lib.mkForce [ [ pkgs.libsodium-vrf pkgs.secp256k1 ] ];
43+
cardano-crypto-class.components.library.pkgconfig = pkgs.lib.mkForce [ [ pkgs.libsodium-vrf pkgs.secp256k1 pkgs.libblst ] ];
4444
cardano-crypto-praos.components.library.pkgconfig = pkgs.lib.mkForce [ [ pkgs.libsodium-vrf ] ];
4545
};
4646
};

extras/pre-commit-hooks-extra.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
imports = [
33
inputs.pre-commit-hooks.flakeModule # Adds perSystem.pre-commit options
44
];
5-
perSystem = { pkgs, ... }:
5+
perSystem = { pkgsForRust, ... }:
66
let
7-
inherit (pkgs.rust-bin.stable.latest) rustfmt;
8-
inherit (pkgs) deno;
7+
inherit (pkgsForRust.rust-bin.stable.latest) rustfmt;
8+
inherit (pkgsForRust) deno;
99
in
1010
{
1111
pre-commit.settings.hooks = {

pkgs.nix

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
_module.args = {
77
pkgs = import inputs.nixpkgs {
88
inherit system;
9-
inherit (inputs.haskell-nix) config;
10-
overlays = [
11-
inputs.haskell-nix.overlay
12-
inputs.iohk-nix.overlays.crypto
13-
(import inputs.rust-overlay)
14-
];
159
};
1610

1711
# TODO(bladyjoker): If we use recent nixpkgs we get: `error: nodejs_14 has been removed as it is EOL`. That's why we use CTL's old nixpkgs.
@@ -21,6 +15,7 @@
2115
overlays = [
2216
inputs.haskell-nix.overlay
2317
inputs.iohk-nix.overlays.crypto
18+
inputs.iohk-nix.overlays.haskell-nix-crypto
2419
inputs.ctl.overlays.purescript
2520
inputs.ctl.overlays.spago
2621
];
@@ -33,6 +28,7 @@
3328
overlays = [
3429
inputs.haskell-nix.overlay
3530
inputs.iohk-nix.overlays.crypto
31+
inputs.iohk-nix.overlays.haskell-nix-crypto
3632
];
3733
};
3834

0 commit comments

Comments
 (0)