mirror of
https://code.tvl.fyi/depot.git:/tools/nixery.git
synced 2025-03-15 06:01: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;
|
||||
|
||||
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 New Issue
Block a user