go-nix
go-nix copied to clipboard
Elements of Nix re-implemented as Go libraries [maintainer=@flokli]
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: - [ ]...
This provides a bunch of store-related components and concepts. Very WIP. PR opened for some early feedback. - A "Path Store", storing information about an output path (some .narinfo-style metadata,...
I banged this together until it worked. And it works! The code is quite garbage right now, but it was fun, and I learned a few things. go-fuse wants to...
- retrieving the .narinfo and .nar file from a (http) binary cache - unpacking the .nar file, validating the signatures and providing a `io/FS` to the contents - if no...
Use `httptest`. Also, add an explicit testcase to make it more obvious that redirects are already handled. See https://github.com/nix-community/go-nix/pull/66#discussion_r895217645 for context.
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. Commits c48da13 http2: fix TestServerContinuationFlood flakes 762b58d http2: fix tipos in comment ba87210 http2: close connections when receiving too many headers ebc8168 all: fix...
Needs a bit of massaging to make it work with the existing code.
Nixhash
Refactor the nixhash package to make it more user friendly. Make narinfos compatible with Cachix