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

Question about caching nix store in github action #134

Open
minizilla opened this issue May 4, 2023 · 1 comment
Open

Question about caching nix store in github action #134

minizilla opened this issue May 4, 2023 · 1 comment

Comments

@minizilla
Copy link

Hi @joneshf , I'm following issues regarding caching nix store in github action and saw your solutions. It works wonder and it speed up the CI time.

However I notice the different between using --store and not.

# when running the following command it also prints error(ignored)
$ nix --store ~/nix develop . --command echo "ok"
error (ignored): error: package 'nixpkgs#bashInteractive' does not provide a 'bin/bash'
ok
# works normally without specifying --store
$ nix develop . --command echo "ok"
ok

I saw your action logs in this repo, the error (ignored) line also appears, any thought on this? it doesn't hinder the flow of execution since the error is ignored but annoys me seeing word error when everything is fine.

@joneshf
Copy link
Owner

joneshf commented May 4, 2023

Howdy! I've been wondering about this myself. I don't have a clue why it does that, but thanks for asking the question upstream: NixOS/nix#8289. I'll leave this open until there's some resolution in the upstream issue.

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