fix passthrough template

This commit is contained in:
jacekpoz 2024-09-13 17:08:49 +02:00
parent f8b1d1e6be
commit 7c7c301955
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -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;}