about summary refs log tree commit diff stats
path: root/default.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-06-24 21:48:36 +0200
committerAlan Pearce2024-06-24 23:09:15 +0200
commita2feb8c63c80a1f52830f562af2deb2c6065eaae (patch)
tree448ed15c5fb91099ef29528c529a35d6151d98ee /default.nix
parent8623948592fa14958d340b006653fc57861c4fc4 (diff)
downloadwebsite-a2feb8c63c80a1f52830f562af2deb2c6065eaae.tar.lz
website-a2feb8c63c80a1f52830f562af2deb2c6065eaae.tar.zst
website-a2feb8c63c80a1f52830f562af2deb2c6065eaae.zip
move templ templates into separate package
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/default.nix b/default.nix
index 778f790..e3a47f7 100644
--- a/default.nix
+++ b/default.nix
@@ -72,6 +72,7 @@ rec {
         ./go.sum
         ./cmd/build
         ./internal
+        ./templates
       ];
     };
     modules = ./nix/gomod2nix.toml;
@@ -92,6 +93,7 @@ rec {
         ];
       };
     } ''
+    cd $src
     ${builder}/bin/build -s $src -d $out
     cp $src/config.toml $out/
   '';
@@ -106,6 +108,7 @@ rec {
         ./go.sum
         ./cmd/server
         ./internal
+        ./templates
       ];
     };
     modules = ./nix/gomod2nix.toml;