Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix_path not applied on hosted runners #188

Open
zupo opened this issue Aug 7, 2023 · 1 comment
Open

nix_path not applied on hosted runners #188

zupo opened this issue Aug 7, 2023 · 1 comment

Comments

@zupo
Copy link

zupo commented Aug 7, 2023

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)
@domenkozar
Copy link
Member

In such situations we'd need to set the config if we don't install Nix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants