all repos — website @ 2ef8e8286acfc06c4d7680d299e47dedea7b35eb

My website

nix: limit server compilation to sub-package
Alan Pearce alan@alanpearce.eu
Wed, 24 Apr 2024 14:27:14 +0200
commit

2ef8e8286acfc06c4d7680d299e47dedea7b35eb

parent

ab9997a846fd6d78131d15e607565e91c6693a9f

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M nix/default.nixnix/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; };