Skip to content

Commit

Permalink
dependency-management.md: update niv references
Browse files Browse the repository at this point in the history
1. A small fixup/typo over an older reference to `niv`;
2. `niv` is not exactly unmaintained - the most recent commit is from less than 2 months ago. Let's rewrite this in a more neutral manner.
  • Loading branch information
AndersonTorres authored Jun 28, 2024
1 parent ee7f086 commit d838bde
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions source/guides/recipes/dependency-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ See [](./sharing-dependencies) for details, and note that here you have to pass

As an example, we will use the previously created expression with an older version of Nixpkgs.

Enter the development environment, create a new directory, and set up niv with a different version of Nixpkgs:
Enter the development environment, create a new directory, and set up npins with a different version of Nixpkgs:

```shell-session
$ nix-shell
Expand Down Expand Up @@ -95,8 +95,9 @@ nix-build .. -A build --arg sources 'import ./npins'

## Migrating from `niv`

A previous version of this guide recommended using [`niv`](https://github.com/nmattia/niv/), which is not maintained anymore.
If you have a project using `niv`, import remote source definitions into `npins`:
A previous version of this guide recommended using [`niv`](https://github.com/nmattia/niv/), a similar pin manager written in Haskell.

If you have a project using `niv`, you can import remote source definitions into `npins`:

```shell-session
npins import-niv
Expand Down

0 comments on commit d838bde

Please sign in to comment.