diff --git a/flake.nix b/flake.nix index 11df176..1e6516e 100644 --- a/flake.nix +++ b/flake.nix @@ -94,7 +94,7 @@ deps = [pkgs.gnutar]; script = [ "nix build .#\${TEMPLATE}" - "install result templates/\${TEMPLATE}.tf.json" + "install -D result templates/\${TEMPLATE}.tf.json" "tar -cf templates/\${TEMPLATE}.tar -C templates \${TEMPLATE}.tf.json" ]; artifacts.paths = ["templates/"];