Skip to content

Commit

Permalink
fix missing changes from niv to npins (#1017)
Browse files Browse the repository at this point in the history
Co-authored-by: Runningtarrens <[email protected]>
  • Loading branch information
fricklerhandwerk and Runningtarrens authored Jul 10, 2024
1 parent 25593bf commit 6cfee51
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/tutorials/working-with-local-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Then create a `default.nix` file with the following contents:
:caption: default.nix
{
system ? builtins.currentSystem,
sources ? import ./npins/default.nix,
sources ? import ./npins,
}:
let
pkgs = import sources.nixpkgs {
Expand Down Expand Up @@ -264,7 +264,7 @@ trace: /home/user/fileset
trace: - build.nix (regular)
trace: - default.nix (regular)
trace: - hello.txt (regular)
trace: - nix (all files in directory)
trace: - npins (all files in directory)
trace: - world.txt (regular)
this derivation will be built:
/nix/store/zr19bv51085zz005yk7pw4s9sglmafvn-fileset.drv
Expand All @@ -283,7 +283,7 @@ trace: /home/user/fileset
trace: - build.nix (regular)
trace: - default.nix (regular)
trace: - hello.txt (regular)
trace: - nix (all files in directory)
trace: - npins (all files in directory)
trace: - world.txt (regular)
/nix/store/vhyhk6ij39gjapqavz1j1x3zbiy3qc1a-fileset
```
Expand Down Expand Up @@ -331,7 +331,7 @@ trace: /home/user/fileset
trace: - build.nix (regular)
trace: - default.nix (regular)
trace: - hello.txt (regular)
trace: - nix (all files in directory)
trace: - npins (all files in directory)
trace: - world.txt (regular)
/nix/store/vhyhk6ij39gjapqavz1j1x3zbiy3qc1a-fileset
```
Expand All @@ -353,7 +353,7 @@ Again, Nix will start from scratch:
$ nix-build
trace: /home/user/fileset
trace: - default.nix (regular)
trace: - nix (all files in directory)
trace: - npins (all files in directory)
trace: - build.nix (regular)
trace: - string.txt (regular)
this derivation will be built:
Expand All @@ -375,7 +375,7 @@ Create a file set containing a union of the files to exclude (`fs.unions [ ... ]
(fs.maybeMissing ./result)
./default.nix
./build.nix
./nix
./npins
]);
```

Expand Down Expand Up @@ -539,7 +539,7 @@ trace: - build.nix (regular)
trace: - build.sh (regular)
trace: - default.nix (regular)
trace: - hello.txt (regular)
trace: - nix (all files in directory)
trace: - npins (all files in directory)
trace: - src
trace: - select.c (regular)
trace: - select.h (regular)
Expand Down

0 comments on commit 6cfee51

Please sign in to comment.