build-maven: use lib.importJSON

This commit is contained in:
zimbatm 2016-02-29 13:49:29 +00:00
parent 22d7c08dc5
commit 6d9cc54089

View file

@ -11,7 +11,7 @@
* the project.
*/
infoFile: let
info = builtins.fromJSON (builtins.readFile infoFile);
info = lib.importJSON infoFile;
script = writeText "build-maven-repository.sh" ''
${lib.concatStrings (map (dep: let