1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

fix(toml): output name

This commit is contained in:
Kierán Meinhardt
2019-11-19 07:47:44 +01:00
parent 834c35e670
commit d7b145f64b

View File

@@ -1,5 +1,5 @@
(self: super: {
writeTOML = object: super.runCommand "writeTOML" {} ''
writeTOML = object: super.runCommand "generated.toml" {} ''
echo '${builtins.toJSON object}' | ${super.remarshal}/bin/json2toml > $out
'';
toTOML = object: builtins.readFile (self.writeTOML object);