Hello,
I'm running a NixOS setup without channels, and with a locally installed checkout of nixpkgs.
This makes contributing changes to nixpkgs easier, and allows for more explicit control of upgrades on the underlying channel, i.e. those happen precisely when I do a git pull on my local clone.
Rebuilding my system is then done like so:
nixos-rebuild switch -I nixpkgs=path-to-git-repo
I can't manage to figure out how to get nix-env to work in this setup though.
Example:
nix-env -i bash -I nixpkgs=path-to-git-repo
error: selector ‘bash’ matches no derivations
Thanks,
Klaas