On hosted runners the nix_path config does not seem to be applied.
I am running exactly the same steps on hosted and standard runners (ubuntu-latest), and hosted runners print out this every time I call nix-shell:
Run nix-shell --run "echo 'nix-shell successfully entered'"
error:
… while calling the 'import' builtin
at «string»:1:2:
1| (import <nixpkgs> {}).bashInteractive
| ^
… while calling the 'findFile' builtin
at «string»:1:9:
1| (import <nixpkgs> {}).bashInteractive
| ^
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «none»:0: (source not available)
On hosted runners the
nix_path
config does not seem to be applied.I am running exactly the same steps on hosted and standard runners (
ubuntu-latest
), and hosted runners print out this every time I callnix-shell
: