Skip to content

Commit

Permalink
flake: update casper-node 1.5.6 -> 1.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
marijanp committed Aug 7, 2024
1 parent ed0ba18 commit 4b0aa0b
Show file tree
Hide file tree
Showing 2 changed files with 148 additions and 8 deletions.
148 changes: 143 additions & 5 deletions flake.lock

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

8 changes: 5 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
advisory-db.url = "github:rustsec/advisory-db";
advisory-db.flake = false;
cctl.url = "github:casper-network/cctl/947c34b991e37476db82ccfa2bd7c0312c1a91d7";
csprpkgs.follows = "cctl/csprpkgs";
csprpkgs.url = "github:cspr-rad/csprpkgs";
};

outputs = inputs@{ self, flake-parts, treefmt-nix, ... }:
Expand All @@ -47,6 +47,8 @@
];
craneLib = inputs.crane.lib.${system}.overrideToolchain rustToolchain;

cctl = inputs'.cctl.packages.cctl.override { casper-node = inputs'.csprpkgs.packages.casper-node; };

# TODO reuse in nixos tests
cctlConfig = {
chainspec = pkgs.fetchurl {
Expand Down Expand Up @@ -174,7 +176,7 @@
darwin.apple_sdk.frameworks.SystemConfiguration
];
checkInputs = [
inputs'.cctl.packages.cctl
cctl
pkgs.postgresql
];

Expand Down Expand Up @@ -228,7 +230,7 @@
''
mkdir -p $out/bin
makeWrapper ${self'.packages.kairos}/bin/cctld $out/bin/cctld \
--set PATH ${pkgs.lib.makeBinPath [inputs'.cctl.packages.cctl ]}
--set PATH ${pkgs.lib.makeBinPath [ cctl ]}
'';

default = self'.packages.kairos;
Expand Down

0 comments on commit 4b0aa0b

Please sign in to comment.