nix: limit server compilation to sub-package
Alan Pearce alan@alanpearce.eu
Wed, 24 Apr 2024 14:27:14 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M nix/default.nix → nix/default.nix
@@ -74,6 +74,7 @@ ./../internal ]; }; modules = ./gomod2nix.toml; + subPackages = [ "cmd/server" ]; ldflags = [ "-s" "-w" "-X" "main.Commit=${fullSHA}" ]; }; docker-stream = mkDockerStream { inherit server website; };