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:
parent
7b987530d1
commit
ad9b3eb262
1 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue