1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00

Merge pull request #82 from chreekat/patch-1

Formulate niv example for use in default.nix
This commit is contained in:
Domen Kožar 2020-07-13 10:18:32 +02:00 committed by GitHub
commit 9ba97eb6a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ You can use the generated ``sources.nix`` file as follows:
.. code:: nix
{ sources ? import ./sources.nix
{ sources ? import ./nix/sources.nix
, pkgs ? import sources.nixpkgs {}
}:
@ -80,4 +80,4 @@ Going forward
- For more examples and details of the different ways to pin ``nixpkgs``, see :ref:`ref-pinning-nixpkgs`.
- To quickly setup a Nix project read through
`Getting started Nix template <https://github.com/nix-dot-dev/getting-started-nix-template>`_.
`Getting started Nix template <https://github.com/nix-dot-dev/getting-started-nix-template>`_.