nix-portable
nix-portable copied to clipboard
/proc is empty
this breaks commands like pgrep or killall
$ ls -d /proc/[0-9]* | wc -l
30
$ pgrep rqbit
2655910
$ nix-shell
[nix-shell:~]$ pgrep rqbit
[nix-shell:~]$ killall rqbit
rqbit: no process found
[nix-shell:~]$ ls -d /proc/[0-9]* | wc -l
3
[nix-shell:~]$ ls -d /proc/[0-9]*
/proc/226879
/proc/301952
/proc/301953
[nix-shell:~]$ jobs
[nix-shell:~]$ head /proc/[0-9]*/cmdline
bash--rcfile/tmp/nix-shell-226879-0/rc