Coder Social home page Coder Social logo

nix-docker-builder's People

Contributors

mikroskeem avatar

Stargazers

 avatar

Watchers

 avatar

nix-docker-builder's Issues

`nixb` questions

The README says to see the nixb source for caveats, but I don't see caveats beyond --store not being supported on Darwin?

Also, nixb checks for the presence of a nix-builders.nix file and uses that to set up the builders config. If the file doesn't exist it just silently skips that, resulting in the only thing it actually doing is potentially setting --max-jobs 0. I see this repo has a nix-builders.nix file in it, but nixb isn't looking for that file. I assume this means that I need to either set the $NIX_BUILDERS_CONFIG var to point at it or copy it into ~/config/nix-builders.nix, but this isn't documented. What's the actual expected usage here?

On a related note, this nixb command wraps nix, but that means it's not actually usable with other tools that wrap nix (such as https://github.com/serokell/deploy-rs). It would be great if there was an alternative that just set the $NIX_CONFIG env var with the appropriate settings and then invoked whatever tool I asked it to. This way I could run e.g. with_nixb deploy to run deploy with $NIX_CONFIG set, and then nixb is really just shorthand for with_nixb nix "$@". Or maybe add a shell.nix that just sets this env var (and a corresponding devShells entry in the flake) so I can get a shell environment that uses it.

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.