mirror of
https://github.com/nmattia/niv.git
synced 2024-12-01 15:56:03 +03:00
Merge pull request #91 from nmattia/nm-fix-readme-2
Fix README and loop until Nix install succeeds
This commit is contained in:
commit
a9dc7a67c6
@ -32,7 +32,11 @@ jobs:
|
||||
- run:
|
||||
name: Install Nix
|
||||
command: |
|
||||
bash <(curl https://nixos.org/nix/install)
|
||||
until bash <(curl https://nixos.org/nix/install)
|
||||
do
|
||||
echo "Nix install failed, retrying"
|
||||
rm -rf /nix
|
||||
done
|
||||
echo '. /home/circleci/.nix-profile/etc/profile.d/nix.sh' >> $BASH_ENV
|
||||
|
||||
- checkout
|
||||
|
@ -120,8 +120,8 @@ import sources.nixpkgs # and use them again!
|
||||
#### Tracking a nixpkgs branch
|
||||
|
||||
The `init` command sets the `nix/sources.json` file to track the latest commit
|
||||
present on nixpkgs 18.09 when the command was run. Run this commit to track
|
||||
update to the latest commit:
|
||||
present on nixpkgs 18.09 when the command was run. Run the following command to
|
||||
update it:
|
||||
|
||||
``` shell
|
||||
$ niv update nixpkgs
|
||||
|
@ -120,8 +120,8 @@ import sources.nixpkgs # and use them again!
|
||||
#### Tracking a nixpkgs branch
|
||||
|
||||
The `init` command sets the `nix/sources.json` file to track the latest commit
|
||||
present on nixpkgs 18.09 when the command was run. Run this commit to track
|
||||
update to the latest commit:
|
||||
present on nixpkgs 18.09 when the command was run. Run the following command to
|
||||
update it:
|
||||
|
||||
``` shell
|
||||
$ niv update nixpkgs
|
||||
|
Loading…
Reference in New Issue
Block a user