1
1
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:
Nicolas Mattia 2019-06-16 10:31:27 +02:00 committed by GitHub
commit a9dc7a67c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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