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 can't enter the nix-shell on a fresh install of Nix unstable on Debian, any pointers?
$ nix-shell
error: file 'nixos-unstable' was not found in the Nix search path (add it using $NIX_PATH or -I), at /home/ed/git/crate2nix/shell.nix:5:16
$ nix-channel --list
nixpkgs https://nixos.org/channels/nixpkgs-unstable
$ echo $NIX_PATH
nixpkgs=/home/ed/.nix-defexpr/channels/nixpkgs
Thanks.
The text was updated successfully, but these errors were encountered:
Your problem is that you have a channel pointing to nixpkgs-unstable but that it is called nixpkgs. The shell hard-codes a reference to nixpkgs-unstable.
Hi @nuxeh, I also changed the shell.nix in such a way now that it does not depend on your local channel configuration. Let me know if it works for you!
I can't enter the nix-shell on a fresh install of Nix unstable on Debian, any pointers?
Thanks.
The text was updated successfully, but these errors were encountered: