go-nix icon indicating copy to clipboard operation
go-nix copied to clipboard

pkg/build: Add build package

Open adisbladis opened this issue 3 years ago • 2 comments

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:

  • [ ] Store is a stub interface, this should be broken out into a separate PR dealing with Store only.
  • [ ] Figure out a Store interface for adding builds to store.
  • [ ] Build tests
  • [ ] Run as non-root inside container

adisbladis avatar Jun 25 '22 09:06 adisbladis

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

nixos-discourse avatar Aug 30 '22 13:08 nixos-discourse

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

nixos-discourse avatar Aug 30 '22 13:08 nixos-discourse