Comments (8)
https://github.com/Mic92/nix-build-uncached it is. Even if your flag lands in Nix it is still going to take a while until it ends in a released version. Until than nix-build-cached
will pay the builds.
from cachix-action.
Similar idea for upstream NixOS/nix#3428
from cachix-action.
Once there would be a wrapper around nix-build
, error logging could be improved as well. Right now it nix-build
is quite verbose and it is hard to search for the error that broke a particular package because the build log is quite mix of all builds. It would be better if there was a nix build
output that would just iterate over full logs of each failed package individually at the end of execution.
from cachix-action.
This should probably be a wrapper or (I prefer) part of nix-build. Either way I'll leave it open here since it's relevant.
from cachix-action.
This is wrapper I came up with: https://github.com/Mic92/ci-nix-build
It's a single static binary (2mb). Still look for a better name.
from cachix-action.
Nice! :)
I think it's going to be tricky to get argument passing to nix-build to work, but it's quite nice for 90% of the cases where nix-build
does the job.
from cachix-action.
I will add support for some build arguments later.
from cachix-action.
nice! I have a name suggestion: nix-build-uncached
. I started adding a nix-build --uncached
attribute to Nix itself but this is still at a very early stage.
from cachix-action.
Related Issues (20)
- Use cachix-action on a NixOS host HOT 22
- cachix fails to upload musl artifacts in github actions on macos HOT 2
- support use of a post-build-hook so that failing builds can still take advantage of cachix HOT 1
- `uses` fails: unexpected end-of-file HOT 1
- `cachix: CppStdException "Exception: path '/nix/store/...' is not valid; type: nix::InvalidPath"` HOT 18
- don't stop uploading artifacts on the first failure HOT 1
- Clarify the state of caching on PRs
- Be more verbose about what's happening HOT 1
- Uploading to cachix is slow, it seems to reupload stuff even when not needed HOT 3
- New release? HOT 2
- save-state command is deprecated since 11th october 2022.
- Proposal: better auth and fork handling HOT 1
- `/usr/bin/bash` missing on Ubuntu 22.04 images HOT 3
- Post set up phase fails with "Permission denied" HOT 8
- Cachix unable to write to the nix store HOT 2
- path '/nix/store/{b32}-headscale-{rev}-go-modules' is not valid; type: nix::InvalidPath HOT 22
- support for pushing while building? HOT 11
- install fails on self-hosted NixOS builder HOT 4
- Support specifying `cachix push` arguments?
- error: unexpected end-of-file HOT 6
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.