diff --git a/overlays/toml.nix b/overlays/toml.nix index 75f20f6..e921930 100644 --- a/overlays/toml.nix +++ b/overlays/toml.nix @@ -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);