Using the flake
See the available packages with
$ nix flake show
path:/the/path/to/the/folder?lastModified=someunixtime&narHash=sha256-somehash
└───packages
└───x86_64-linux
├───default omitted (use '--all-systems' to show)
└───hello omitted (use '--all-systems' to show)
or build a package using
$ nix build .#hello