refactor(build): Add group-layers to top-level Nix derivations

This makes CI build the group-layers tool (and cache it to Cachix!)
This commit is contained in:
Vincent Ambo 2019-09-22 17:51:39 +01:00 committed by Vincent Ambo
parent 7b987530d1
commit ad9b3eb262

View file

@ -17,7 +17,11 @@
with pkgs;
rec {
let buildImage = import ./build-image {
srcType = "path";
srcArgs = <nixpkgs>;
};
in rec {
# Go implementation of the Nixery server which implements the
# container registry interface.
#
@ -27,10 +31,8 @@ rec {
nixery-server = callPackage ./server { };
# Implementation of the image building & layering logic
nixery-build-image = (import ./build-image {
srcType = "path";
srcArgs = <nixpkgs>;
}).wrapper;
nixery-build-image = buildImage.wrapper;
nixery-group-layers = buildImage.groupLayers;
# Use mdBook to build a static asset page which Nixery can then
# serve. This is primarily used for the public instance at