I’m following Packaging existing software with Nix — nix.dev documentation and I get error error: attribute 'nix' in selection path 'hello.nix' not found
when I issue nix-build -A hello
as instructed in Building with nix-build
.
I did update https://github.com/NixOS/nixpkgs/tarball/nixos-24.05
to https://github.com/NixOS/nixpkgs/tarball/nixos-24.11
which I believe should be changed in the documentation aswell.
Please, let me know what am I doing wrong. Thx!