about summary refs log tree commit diff
path: root/tools/nixery/main.go
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-07-31T00·45+0100
committerVincent Ambo <github@tazj.in>2019-07-31T14·28+0100
commit2db92243e748bba726e9d829f89f65dd5bf16afd (patch)
tree70c2f5d40a7d72a76cd4b0aa02bdd12ad8e5e292 /tools/nixery/main.go
parenta83701a14b4b620d9b24656e638d31e746f3a06e (diff)
feat(nix): Support package set imports from different sources
This extends the package set import mechanism in
build-registry-image.nix with several different options:

1. Importing a nixpkgs channel from Github (the default, pinned to
   nixos-19.03)

2. Importing a custom Nix git repository. This uses builtins.fetchGit
   and can thus rely on git/SSH configuration in the environment (such
   as keys)

3. Importing a local filesystem path

As long as the repository pointed at is either a checkout of nixpkgs,
or nixpkgs overlaid with custom packages this will work.

A special syntax has been defined for how these three options are
passed in, but users should not need to concern themselves with it as
it will be taken care of by the server component.

This relates to #3.
Diffstat (limited to 'tools/nixery/main.go')
0 files changed, 0 insertions, 0 deletions