feat(build-image): Introduce a terrifying hack to build group-layers

The issue is described in detail in a comment in
`build-image/default.nix`, please read it.
This commit is contained in:
Vincent Ambo 2019-08-12 19:02:13 +01:00 committed by Vincent Ambo
parent f60f702274
commit 7214d0aa4f
3 changed files with 86 additions and 13 deletions

View file

@ -26,7 +26,7 @@ rec {
nixery-server = callPackage ./server {};
# Implementation of the image building & layering logic
nixery-build-image = callPackage ./build-image {};
nixery-build-image = (import ./build-image { inherit pkgs; }).wrapper;
# Use mdBook to build a static asset page which Nixery can then
# serve. This is primarily used for the public instance at