Skip to content

Commit

Permalink
Use hydraPackages to get the right version
Browse files Browse the repository at this point in the history
  • Loading branch information
noonio committed Jan 2, 2025
1 parent c3fe7c1 commit 46829d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@

devShells = import ./nix/hydra/shell.nix {
inherit (inputs) aiken;
inherit inputs pkgs hsPkgs system pkgsLatest;
inherit inputs pkgs hsPkgs system pkgsLatest hydraPackages;
ghc = pkgs.buildPackages.haskell-nix.compiler.${compiler};
};
};
Expand Down
9 changes: 5 additions & 4 deletions nix/hydra/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
, ghc
, pkgsLatest
, aiken
, hydraPackages
}:
let

Expand Down Expand Up @@ -119,8 +120,8 @@ let
name = "hydra-node-exe-shell";

buildInputs = [
hsPkgs.hydra-node.components.exes.hydra-node
hsPkgs.hydra-cluster.components.exes.hydra-cluster
hydraPackages.hydra-node
hydraPackages.hydra-cluster
inputs.cardano-node.packages.${system}.cardano-node
inputs.cardano-node.packages.${system}.cardano-cli
pkgs.mithril-client-cli
Expand All @@ -132,8 +133,8 @@ let
demoShell = pkgs.mkShell {
name = "hydra-demo-shell";
buildInputs = [
hsPkgs.hydra-node.components.exes.hydra-node
hsPkgs.hydra-tui.components.exes.hydra-tui
hydraPackages.hydra-node
hydraPackages.hydra-tui
run-tmux
inputs.cardano-node.packages.${system}.cardano-node
inputs.cardano-node.packages.${system}.cardano-cli
Expand Down

0 comments on commit 46829d0

Please sign in to comment.