mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
chore: nixfmt
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user