Comments (7)
This is not an issue with this action. The latest nix release (2.14.0) has a regression which causes this.
Pinning nix version in the nix-install-action resolves it:
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
See NixOS/nixpkgs#218858 (comment)
from cachix-action.
I forgot to post an update. I fixed it couple of hours after posting.
This was caused by GH action runner wiping the environment on start, discarding Nix environment. It's weird because it works fine on Linux, in similar setup. I think it's because shell is not being used to invoke commands on MacOS, while it is on Linux, or because DeterminateSystems installer is wiring things up differently between the two for some reason.
The fix was to run ./env.sh
after sourcing Nix init script to update .env
and .path
inside the runner's dir, before calling ./run.sh
.
from cachix-action.
I'm seeing the same thing.
from cachix-action.
We're seeing the same thing: https://github.com/runtimeverification/evm-semantics/actions/runs/4296996503/jobs/7489418708
I've tried version 14 and version 15 of the action.
from cachix-action.
This is not an issue with this action. The latest nix release (2.14.0) has a regression which causes this.
Pinning nix version in the nix-install-action resolves it:
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
Thank you! This solved my issue, closing
from cachix-action.
I see the same thing on a self-hosted macos runner and I don't even know why. How does one debug this?
from cachix-action.
I see the same thing on a self-hosted macos runner and I don't even know why. How does one debug this?
This usually means that we can't find the cachix executable in your PATH. You can start tracking this down by echo-ing PATH during the workflow and making sure that it contains paths to the system/user nix profiles.
I would recommend pre-installing cachix if using a self-hosted runner.
from cachix-action.
Related Issues (20)
- cachix/cachix-action fails to run HOT 5
- Unable to locate file: cachix HOT 2
- Binary not found by action HOT 6
- Action started failing ~36 hours ago HOT 8
- Can no longer install cachix HOT 5
- Any way to not even have to download anything? HOT 2
- Fails with nix-installer-action and Nix 2.15.1 HOT 3
- UI: unsuccessful push should scream "error!" instead of failing silently HOT 2
- Syntax error when cachix-action runs HOT 5
- `skipAddingSubstituter` should also skip `extraPullNames`
- When tokens get revoked the cachix-action hangs indefinitely HOT 2
- Cachix action v14 + v13 failing since Jan 15 HOT 4
- cachix-daemon-.../post-build-hook.sh': No such file or directory HOT 6
- post step hangs indefinitely, run gets killed HOT 37
- Best way to avoid hitting GitHub API limits? HOT 3
- Cachix takes a long time to install in GitHub Actions CI HOT 10
- Push to cachix in post run failed. HOT 2
- Use `getBooleanInput` to parse flags
- When running on self-hosted runner, tripped and started uploading absolutely everything HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cachix-action.