Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
dermetfan committed Nov 24, 2022
1 parent f45a3de commit 6c54816
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ let
# fetched binaries are the "standard" builds that people test. This should be
# fast as it mostly fetches Hydra (CI) caches without building much.
cardano-node = import
(pkgs.fetchgit {
(builtins.fetchGit {
url = "https://github.com/input-output-hk/cardano-node";
rev = "1.35.3";
sha256 = "020fwimsm24yblr1fmnwx240wj8r3x715p89cpjgnnd8axwf32p0";
ref = "purity";
rev = "56a7c0ba48e363a65bed4b876c7e14005eab878d";
})
{ };
{ inherit system; };
in
{
inherit compiler pkgs hsPkgs cardano-node;
Expand Down
2 changes: 1 addition & 1 deletion release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let
in
rec {
# Build shell derivation to cache it
shell = import ./shell.nix { };
shell = import ./shell.nix { inherit system; };

# Build some executables
hydra-node = nativePkgs.hydra-node.components.exes.hydra-node;
Expand Down
3 changes: 2 additions & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
{
# Used in CI to have a smaller closure
withoutDevTools ? false
, system ? builtins.currentSystem
}:
let
project = import ./default.nix { };
project = import ./default.nix { inherit system; };
inherit (project) compiler pkgs hsPkgs cardano-node;

libs = [
Expand Down

0 comments on commit 6c54816

Please sign in to comment.