-
Notifications
You must be signed in to change notification settings - Fork 720
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nix update scripts to work without using a system-wide nixFlake
- Loading branch information
Showing
5 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Nix dependencies | ||
|
||
Cardano-node nix build depends primarily on [haskell.nix](https://github.com/input-output-hk/haskell.nix) and secondarily, for some utilities, on [iohk-nix](https://github.com/input-output-hk/iohk-nix/). | ||
|
||
Both can be updated from within a cardano-node `nix-shell` with: | ||
|
||
``` | ||
nix flake update --update-input haskellNix | ||
nix flake update --update-input iohkNix | ||
``` | ||
|
||
Or from outside the `nix-shell` with the scripts: | ||
|
||
``` | ||
./nix/update-haskellNix.sh | ||
./nix/update-iohkNix.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env bash | ||
cd "$(dirname "$0")/.." | ||
nix-shell -I nixpkgs=./nix -p nixWrapped \ | ||
--run "nix flake update --update-input haskellNix" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env bash | ||
cd "$(dirname "$0")/.." | ||
nix-shell -I nixpkgs=./nix -p nixWrapped \ | ||
--run "nix flake update --update-input iohkNix" |