Skip to content

Commit

Permalink
Merge pull request #884 from dsalaza4/main
Browse files Browse the repository at this point in the history
feat(back): #882 yaml header
  • Loading branch information
dsalaza4 authored Jul 26, 2022
2 parents f974674 + f140393 commit d7d2a3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/args/to-file-yaml/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
...
}: name: expr:
makeDerivation {
builder = "yq -y < $envData > $out";
builder = ''
echo "---" > $out \
&& yq -y < $envData >> $out
'';
inherit name;
env.envData = toFileJson name expr;
local = true;
Expand Down

0 comments on commit d7d2a3f

Please sign in to comment.