summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-08-02 20:35:34 +0200
committertv <tv@krebsco.de>2016-08-02 20:35:34 +0200
commit1e3e6f7bbc9290aad99a86f33982a8dd7d60caba (patch)
tree10f514b38aca7b2ccc90f7b148d5ce9ea9189b9a /krebs
parentaa167d3e26bd4fd0fedc1ea94b7069cca2100181 (diff)
writeJSON: init
Diffstat (limited to 'krebs')
-rw-r--r--krebs/5pkgs/builders.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/krebs/5pkgs/builders.nix b/krebs/5pkgs/builders.nix
index da7052f38..4c087bc44 100644
--- a/krebs/5pkgs/builders.nix
+++ b/krebs/5pkgs/builders.nix
@@ -242,6 +242,8 @@ rec {
cp src.jq "$out"
'';
+ writeJSON = name: value: pkgs.writeText name (toJSON value);
+
writeNixFromCabal =
trace (toString [
"The function `writeNixFromCabal` has been deprecated in favour of"