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

improvement: use builtins.toJSON wherever possible

This commit is contained in:
Kierán Meinhardt
2019-09-11 07:34:18 +02:00
parent ddb465367e
commit 4d28abff2a
2 changed files with 81 additions and 67 deletions

View File

@@ -10,14 +10,14 @@
:set -Wall
'';
# :def unpl \x -> return $ ":!${pkgs.haskellPackages.pointful}/bin/pointful \"" ++ x ++ "\""
".stack/config.yaml".text = let user = config.niveum.user; in ''
templates:
params:
author-name: ${user.name}
author-email: ${user.email}
copyright: 'Copyright: (c) 2019 ${user.name}'
github-username: ${user.github}
'';
".stack/config.yaml".text = let user = config.niveum.user; in builtins.toJSON {
templates.params = {
author-name = user.name;
author-email = user.email;
copyright = "Copyright: (c) 2019 ${user.name}";
github-username = user.github;
};
};
};
services.hoogle = {