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

Can no longer install cachix #144

Closed
danwdart opened this issue Mar 2, 2023 · 5 comments
Closed

Can no longer install cachix #144

danwdart opened this issue Mar 2, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@danwdart
Copy link

danwdart commented Mar 2, 2023

Hello, maybe 2 days ago cachix now fails to install in actions:

3s
Run cachix/cachix-action@v11
  with:
    name: dandart
    authToken: ***
  env:
    NIX_PATH: nixpkgs=channel:nixos-unstable
Warning: The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Cachix: installing
  /usr/bin/bash -c nix-env --quiet -j8 -iA cachix -f https://cachix.org/api/v1/install
Cachix: checking version
  Error: Action failed with error: Error: Unable to locate executable file: cachix. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

Anyone know anything about this?
Thanks

@domenkozar
Copy link
Member

there was cachix/install-nix-action#161 with cachix/install-nix-action and a new release of Nix. Please upgrade to cachix/install-nix-action@v20.

@domenkozar domenkozar pinned this issue Mar 2, 2023
@domenkozar domenkozar added the bug Something isn't working label Mar 2, 2023
@danwdart
Copy link
Author

danwdart commented Mar 2, 2023

Ah thanks, this is just what the docs told me to use, but sure, I'll try that, thanks

@alicebob
Copy link

alicebob commented Mar 7, 2023

Upgrading to v20 also fixes the docs, which use v19 and break as-is: https://devenv.sh/integrations/github-actions/

@domenkozar
Copy link
Member

Thanks, fixed in cachix/devenv@f471d8a

@danwdart
Copy link
Author

Looks like this is fine for me.

infinisil added a commit to tweag/webauthn that referenced this issue Apr 12, 2023
KtorZ added a commit to aiken-lang/aiken that referenced this issue Apr 13, 2023
morucci added a commit to morucci/haskell-butler that referenced this issue Apr 13, 2023
TristanCacqueray pushed a commit to ButlerOS/haskell-butler that referenced this issue Apr 13, 2023
carlthome added a commit to carlthome/dotfiles that referenced this issue Apr 17, 2023
KtorZ added a commit to CardanoSolutions/kupo that referenced this issue Apr 19, 2023
KtorZ added a commit to CardanoSolutions/ogmios that referenced this issue Apr 27, 2023
carlthome added a commit to carlthome/ml-runtimes that referenced this issue Apr 29, 2023
bojunliu0818 added a commit to bojunliu0818/mdtraj that referenced this issue May 3, 2023
Pinning nix to 2.13.3 (or install-nix-action@v16 to v20)  

See blow for references:
cachix/install-nix-action#161
cachix/cachix-action#144
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants