Open amethystgosling opened 9 months ago
Hello, I get the same error here and could not try nsh so
It seems that nix 0.26.4 is the last to have these functions inside I have 0.27.1 version of nix on my system
Probably this change : https://github.com/nix-rust/nix/pull/2091/commits All features are now disabled by default and should be explicitly enabled
Hi @xeoslaenor @amethylghostling, Nix maintainer here, Nix has introduced feature gates in a specific version in the past, so to use these functions, one has to turn on the corresponding feature, e.g., for fork()
, the feature is process
.
nsh
does not handle this, so you have to fork it and enable the feature yourself.
PS: Please keep in mind that I know I am not a dev, I just a noob EndeavourOS (ArchLinux) user who just wants to use this shell so clear instructions on how to get logs or more/better error messages would be appreciated. Because of that I might have included something other than the error messages in the code. Sorry for that if I did.