Skip to content

Commit

Permalink
Use two different cardano-node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ngua committed Jan 24, 2022
1 parent b369622 commit 89d3ca4
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 7 deletions.
24 changes: 21 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 11 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

# for the purescript project
ogmios.url = "github:mlabs-haskell/ogmios";
# so named because we also need the non-flake of the repo below
# in the server inputs
cardano-node = {
# so named because we also need a different version of the repo below
# in the server inputs and we use this one just for the `cardano-cli`
# executables
cardano-node-exe = {
url = "github:input-output-hk/cardano-node/ea8b632820db5546b22430bbb5ed8db4a2fef7dd";
};
cardano-configurations = {
Expand Down Expand Up @@ -45,6 +46,11 @@
"github:input-output-hk/cardano-ledger-specs/bf008ce028751cae9fb0b53c3bef20f07c06e333";
flake = false;
};
cardano-node = {
url =
"github:input-output-hk/cardano-node/2cbe363874d0261bc62f52185cf23ed492cf4859";
flake = false;
};
cardano-prelude = {
url =
"github:input-output-hk/cardano-prelude/fd773f7a58412131512b9f694ab95653ac430852";
Expand Down Expand Up @@ -144,6 +150,8 @@
# It might be a good idea to keep this as a separate shell; if you're
# working on the PS frontend, it doesn't make a lot of sense to pull
# in all of the Haskell dependencies
#
# This can be used with `nix develop .#hsDevShell.<SYSTEM>`
hsDevShell = perSystem (system:
let
psDevShell = (psProjectFor system).devShell;
Expand Down
2 changes: 1 addition & 1 deletion purescript/nix/dev-shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ with inputs;
pkgs.mkShell {
buildInputs = with easy-ps; [
ogmios.packages.${system}."ogmios:exe:ogmios"
cardano-node.packages.${system}.cardano-cli
cardano-node-exe.packages.${system}.cardano-cli
compiler
spago
purescript-language-server
Expand Down
File renamed without changes.

0 comments on commit 89d3ca4

Please sign in to comment.