mirror of
https://code.tvl.fyi/depot.git:/tools/nixery.git
synced 2025-03-15 06:01:51 +00:00
refactor(build): Do not expose nixery-server attribute
In most cases this is not useful for users without the wrapper script, so users should always build nixery-bin anyways.
This commit is contained in:
parent
dfe3edaa5b
commit
7c647a538a
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
||||||
rec {
|
let
|
||||||
# Hash of all Nixery sources - this is used as the Nixery version in
|
# Hash of all Nixery sources - this is used as the Nixery version in
|
||||||
# builds to distinguish errors between deployed versions, see
|
# builds to distinguish errors between deployed versions, see
|
||||||
# server/logs.go for details.
|
# server/logs.go for details.
|
||||||
|
@ -29,13 +29,11 @@ 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.
|
||||||
#
|
#
|
||||||
# Users will usually not want to use this directly, instead see the
|
# Users should use the nixery-bin derivation below instead.
|
||||||
# 'nixery' derivation below, which automatically includes runtime
|
|
||||||
# data dependencies.
|
|
||||||
nixery-server = callPackage ./server {
|
nixery-server = callPackage ./server {
|
||||||
srcHash = nixery-src-hash;
|
srcHash = nixery-src-hash;
|
||||||
};
|
};
|
||||||
|
in rec {
|
||||||
# Implementation of the Nix image building logic
|
# Implementation of the Nix image building logic
|
||||||
nixery-build-image = import ./build-image { inherit pkgs; };
|
nixery-build-image = import ./build-image { inherit pkgs; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user