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

feat: spotifyd, spotify-tui

This commit is contained in:
Kierán Meinhardt
2020-05-20 00:06:26 +02:00
parent 39bc899d44
commit a59be3f398
4 changed files with 24 additions and 3 deletions

View File

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