Comments (6)
@srid, would you be able to test whether it works with useDaemon: false
?
Your self-hosted runner is running inside a nixos-container, correct?
from cachix-action.
Unless we can reproduce the issue we can't really help there, I'm closing this for now.
If you hit an issue, schedule a call at https://cal.com/domenkozar and we can go deeper.
from cachix-action.
@srid, would you be able to test whether it works with
useDaemon: false
?
What's this setting?
Your self-hosted runner is running inside a nixos-container, correct?
Yes
from cachix-action.
What's this setting?
It disables the daemon+post-build-hook push method.
- uses: cachix/cachix-action@v14
with:
useDaemon: false
I've been chipping away at setting up a similar runner in a nixos-container. I think what's happening is that the post-build-hook is being executed outside of the container by the Nix daemon, but the post-build-hook script the action creates is inside the container. That's why you're seeing the "no such file" error. I'm not sure what to do about this.
from cachix-action.
Basic repro:
- Create
/etc/script.sh
on the server (not in the container):
#!/bin/sh
echo "oh hi there"
chmod +x /etc/script.sh
- In a GitHub actions workflow:
run: |
NIX_CONFIG="post-build-hook = /etc/script.sh" nix build --rebuild nixpkgs#hello
from cachix-action.
Sounds like another use case for build hook to run on the client side.
from cachix-action.
Related Issues (20)
- cachix/cachix-action fails to run HOT 5
- Error: Unable to locate executable file: cachix. HOT 7
- 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
- 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.