You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just went through the above tutorial, and wanted to let you know of a couple of typos in the code which naturally cause errors.
The command nix-shell -p npins --run "npins init --bare; npins add github nixos nixpkgs --branch nixos-23.11" creates a directory name npins. Later, in the sections on using unions, the build.nix file is (silently) altered to include the directory ./nix. This should be ./npins (and the addition to the file might be pointed out).
In the section on Matching files tracked by Git, the code block includes git reset src/select.o result. select.o should be select.c.
NixOS is often criticized, with some justification, for its documentation. This site is a counter-example, with top-class tutorials. Thank you again.
The text was updated successfully, but these errors were encountered:
Thank you for some very good docs/tutorials.
I just went through the above tutorial, and wanted to let you know of a couple of typos in the code which naturally cause errors.
The command
nix-shell -p npins --run "npins init --bare; npins add github nixos nixpkgs --branch nixos-23.11"
creates a directory namenpins
. Later, in the sections on usingunions
, thebuild.nix
file is (silently) altered to include the directory./nix
. This should be./npins
(and the addition to the file might be pointed out).In the section on Matching files tracked by Git, the code block includes
git reset src/select.o result
.select.o
should beselect.c
.NixOS is often criticized, with some justification, for its documentation. This site is a counter-example, with top-class tutorials. Thank you again.
The text was updated successfully, but these errors were encountered: