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:
Vincent Ambo 2019-10-27 15:33:14 +01:00 committed by Vincent Ambo
parent 7b7d21205f
commit ffe58d6cb5

View file

@ -18,7 +18,7 @@
with pkgs;
rec {
let
# Hash of all Nixery sources - this is used as the Nixery version in
# builds to distinguish errors between deployed versions, see
# server/logs.go for details.
@ -29,13 +29,11 @@ rec {
# Go implementation of the Nixery server which implements the
# container registry interface.
#
# Users will usually not want to use this directly, instead see the
# 'nixery' derivation below, which automatically includes runtime
# data dependencies.
# Users should use the nixery-bin derivation below instead.
nixery-server = callPackage ./server {
srcHash = nixery-src-hash;
};
in rec {
# Implementation of the Nix image building logic
nixery-build-image = import ./build-image { inherit pkgs; };