From d7b145f64b169a8e5f7273e4ed7c7b4e1a7459c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 19 Nov 2019 07:47:44 +0100 Subject: [PATCH] fix(toml): output name --- overlays/toml.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);