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
Under macOS Sonoma 14.7.2 (tested with a M1 and Intel machine), I get the following error message when trying to open a nix shell from nix repl, using :u:
error: Cannot run 'nix-shell' because no method of calling the Nix CLI was provided. This is a configuration problem pertaining to how this program was built. See Nix 2.25 release notes
$ nix --versionnix (Nix) 2.25.2
$ nix repl --file '<nixpkgs>'Nix 2.25.2Type :? for help.Loading installable ''...Added 23137 variables.nix-repl> :u pkgs.helloerror: Cannot run 'nix-shell' because no method of calling the Nix CLI was provided. This is a configuration problem pertaining to how this program was built. See Nix 2.25 release notes
Describe the bug
Under macOS Sonoma 14.7.2 (tested with a M1 and Intel machine), I get the following error message when trying to open a
nix shell
fromnix repl
, using:u
:error: Cannot run 'nix-shell' because no method of calling the Nix CLI was provided. This is a configuration problem pertaining to how this program was built. See Nix 2.25 release notes
Steps To Reproduce
nix repl
with nixpkgs:nix repl --expr 'import (builtins.getFlake "nixpkgs") {}'
nix-shell
::u pkgs.hello
Expected behavior
A nix shell is opened from the nix repl with the hello package available.
Metadata
nix-env (Nix) 2.25.3
Additional context
Checklist
The text was updated successfully, but these errors were encountered: