Giter Site home page Giter Site logo

Comments (8)

Mic92 avatar Mic92 commented on May 22, 2024 2

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.

domenkozar avatar domenkozar commented on May 22, 2024

Similar idea for upstream NixOS/nix#3428

from cachix-action.

Mic92 avatar Mic92 commented on May 22, 2024

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.

domenkozar avatar domenkozar commented on May 22, 2024

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.

Mic92 avatar Mic92 commented on May 22, 2024

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.

domenkozar avatar domenkozar commented on May 22, 2024

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.

Mic92 avatar Mic92 commented on May 22, 2024

I will add support for some build arguments later.

from cachix-action.

zimbatm avatar zimbatm commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.