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
[user@ls03064 x]$ lorri shell
lorri: building environment... done
Feb 01 14:07:28.915 ERRO Build failed. No cached environment available.
Build error: Nix process returned exit code 1.
$ "nix-build" "--out-link" "/tmp/.tmpZh7L98/result" "--" "/tmp/.tmp4NHQym/result"
this derivation will be built:
/nix/store/sb28qinzrk8qq9v7i78zv9q6nrk53fph-lorri-keep-env-hack-nix-shell.drv
building '/nix/store/sb28qinzrk8qq9v7i78zv9q6nrk53fph-lorri-keep-env-hack-nix-shell.drv'...
/nix/store/wr08yanv2bjrphhi5aai12hf2qz5kvic-stdenv-linux/setup: line 114: sudo: command not found
/nix/store/wr08yanv2bjrphhi5aai12hf2qz5kvic-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/sb28qinzrk8qq9v7i78zv9q6nrk53fph-lorri-keep-env-hack-nix-shell.drv' failed with exit code 127;
last 2 log lines:
> /nix/store/wr08yanv2bjrphhi5aai12hf2qz5kvic-stdenv-linux/setup: line 114: sudo: command not found
> /nix/store/wr08yanv2bjrphhi5aai12hf2qz5kvic-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context
For full logs, run 'nix-store -l /nix/store/sb28qinzrk8qq9v7i78zv9q6nrk53fph-lorri-keep-env-hack-nix-shell.drv'.
Expected behavior
Metadata
Expects lorri shell succeeds like nix-shell
[user@ls03064 x]$ nix-shell
shell.nix
lorry info
# lorry shell succeeded after removing of sudo(lorri) [user@ls03064 x]$ lorri info --shell-file shell.nix GC roots exist, shell_gc_root: /home/user/.cache/lorri/gc_roots/50abadd53cffd8d330176cc639de1f26/gc_root/shell_gc_root
uname -a
(lorri) [user@ls03064 x]$ uname -aLinux ls03064 6.1.68 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 13 17:39:30 UTC 2023 x86_64 GNU/Linux
Describe the bug
lorry shell
fails to findsudo
, which is indeed in$PATH
To Reproduce
shell.nix
to reproduce the issuelorry shell
failsExpected behavior
Metadata
Expects
lorri shell
succeeds likenix-shell
lorry info
uname -a
lorry
installed byhome-manager
nix-info
The text was updated successfully, but these errors were encountered: