mirror of
https://code.tvl.fyi/depot.git:/tools/nixery.git
synced 2025-03-15 14:11:51 +00:00
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
a1648c077d
commit
1713b1614c
12
default.nix
12
default.nix
|
@ -17,7 +17,11 @@
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
||||||
rec {
|
let buildImage = import ./build-image {
|
||||||
|
srcType = "path";
|
||||||
|
srcArgs = <nixpkgs>;
|
||||||
|
};
|
||||||
|
in rec {
|
||||||
# Go implementation of the Nixery server which implements the
|
# Go implementation of the Nixery server which implements the
|
||||||
# container registry interface.
|
# container registry interface.
|
||||||
#
|
#
|
||||||
|
@ -27,10 +31,8 @@ rec {
|
||||||
nixery-server = callPackage ./server { };
|
nixery-server = callPackage ./server { };
|
||||||
|
|
||||||
# Implementation of the image building & layering logic
|
# Implementation of the image building & layering logic
|
||||||
nixery-build-image = (import ./build-image {
|
nixery-build-image = buildImage.wrapper;
|
||||||
srcType = "path";
|
nixery-group-layers = buildImage.groupLayers;
|
||||||
srcArgs = <nixpkgs>;
|
|
||||||
}).wrapper;
|
|
||||||
|
|
||||||
# Use mdBook to build a static asset page which Nixery can then
|
# Use mdBook to build a static asset page which Nixery can then
|
||||||
# serve. This is primarily used for the public instance at
|
# serve. This is primarily used for the public instance at
|
||||||
|
|
Loading…
Reference in New Issue
Block a user