From 7c7c30195543e80ba0a92e8ded3090d1a2e6598e Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Fri, 13 Sep 2024 17:08:49 +0200 Subject: [PATCH] fix passthrough template --- engine.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/engine.nix b/engine.nix index 13722d9..b9e1d48 100644 --- a/engine.nix +++ b/engine.nix @@ -9,10 +9,12 @@ pkgs: src: {extraArgs, entries, templates}: let inherit (lib.trivial) functionArgs; templates' = templates ++ [ - ({ format, output, ... }: { - name = "passthrough"; - inherit format output; - }) + (pkgs.writeText "passthrough.nix" /*nix*/'' + { format, output, ... }: { + name = "passthrough"; + inherit format output; + } + '') ]; args = {inherit pkgs getEntry applyTemplate;}