1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-18 19:07:19 +03:00

Update installation instructions

Now that niv is part of nixpkgs, the installation is much simpler.
This commit is contained in:
Nicolas Mattia 2020-07-15 14:54:56 +02:00
parent e5f7c0a4d3
commit febd3530f0
2 changed files with 14 additions and 6 deletions

View File

@ -17,9 +17,13 @@ Painless dependencies for [Nix] projects. Read more in the [Getting started](#ge
## Install
`niv` is available in [`nixpkgs`](https://github.com/NixOS/nixpkgs) on the
`master` branch as `niv`. It is also available on the `release-19.09` branch as
`haskellPackages.niv`. Otherwise, run:
`niv` is available in [`nixpkgs`](https://github.com/NixOS/nixpkgs) as `niv`:
``` bash
$ nix-env -iA nixpkgs.niv
```
Alternatively, run the following command to install the development version:
``` bash
$ nix-env -iA niv -f https://github.com/nmattia/niv/tarball/master \

View File

@ -17,9 +17,13 @@ Painless dependencies for [Nix] projects. Read more in the [Getting started](#ge
## Install
`niv` is available in [`nixpkgs`](https://github.com/NixOS/nixpkgs) on the
`master` branch as `niv`. It is also available on the `release-19.09` branch as
`haskellPackages.niv`. Otherwise, run:
`niv` is available in [`nixpkgs`](https://github.com/NixOS/nixpkgs) as `niv`:
``` bash
$ nix-env -iA nixpkgs.niv
```
Alternatively, run the following command to install the development version:
``` bash
$ nix-env -iA niv -f https://github.com/nmattia/niv/tarball/master \