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:
commit
9ba97eb6a4
|
@ -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>`_.
|
||||
|
|
Loading…
Reference in a new issue