diff options
author | Alan Pearce | 2024-04-24 14:27:14 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-24 14:27:14 +0200 |
commit | 2ef8e8286acfc06c4d7680d299e47dedea7b35eb (patch) | |
tree | a002f10a813fa1db913d9cdc027b91e4297db9ff /nix/default.nix | |
parent | ab9997a846fd6d78131d15e607565e91c6693a9f (diff) | |
download | website-2ef8e8286acfc06c4d7680d299e47dedea7b35eb.tar.lz website-2ef8e8286acfc06c4d7680d299e47dedea7b35eb.tar.zst website-2ef8e8286acfc06c4d7680d299e47dedea7b35eb.zip |
nix: limit server compilation to sub-package
Diffstat (limited to 'nix/default.nix')
-rw-r--r-- | nix/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nix/default.nix b/nix/default.nix index ba9e751..10d52a0 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -74,6 +74,7 @@ with pkgs; rec { ]; }; modules = ./gomod2nix.toml; + subPackages = [ "cmd/server" ]; ldflags = [ "-s" "-w" "-X" "main.Commit=${fullSHA}" ]; }; docker-stream = mkDockerStream { inherit server website; }; |