From a2feb8c63c80a1f52830f562af2deb2c6065eaae Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 24 Jun 2024 21:48:36 +0200 Subject: move templ templates into separate package --- default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'default.nix') 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; -- cgit 1.4.1