README: avoid re-import nixpkgs in flake example
This commit is contained in:
parent
0beb34fb79
commit
33f6b10466
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ Instead use:
|
|||
# ...
|
||||
modules = let
|
||||
nur-modules = import nur {
|
||||
nurpkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||
nurpkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||
};
|
||||
in [
|
||||
{ imports = [ nur-modules.repos.paul.modules.foo ]; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue