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

chore: nixfmt

This commit is contained in:
Kierán Meinhardt
2020-06-10 17:37:25 +02:00
parent 2c3957735b
commit d8a4d4eedf
90 changed files with 1461 additions and 985 deletions

View File

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