Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Commit d7d2a3f

Browse files
authored
Merge pull request #884 from dsalaza4/main
feat(back): #882 yaml header
2 parents f974674 + f140393 commit d7d2a3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/args/to-file-yaml/default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
...
66
}: name: expr:
77
makeDerivation {
8-
builder = "yq -y < $envData > $out";
8+
builder = ''
9+
echo "---" > $out \
10+
&& yq -y < $envData >> $out
11+
'';
912
inherit name;
1013
env.envData = toFileJson name expr;
1114
local = true;

0 commit comments

Comments
 (0)