about summary refs log tree commit diff
path: root/tools/nixery
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nixery')
-rw-r--r--tools/nixery/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/nixery/default.nix b/tools/nixery/default.nix
index 66155eefa060..95540e11daf2 100644
--- a/tools/nixery/default.nix
+++ b/tools/nixery/default.nix
@@ -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