go-nix
go-nix copied to clipboard
pkg/build: Add build package
This adds a pkg/build package that implements building derivations.
It defines an interface for builds in general and implements a Linux builder using OCI for sandboxing.
TODO:
- [ ]
Storeis a stub interface, this should be broken out into a separate PR dealing withStoreonly. - [ ] Figure out a
Storeinterface for adding builds to store. - [ ] Build tests
- [ ] Run as non-root inside container
This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/bob-a-build-system-for-microservices-powered-by-nix/21260/9
This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/bob-a-build-system-for-microservices-powered-by-nix/21260/10