go-packages: use lib.importJSON

This commit is contained in:
zimbatm 2016-03-09 19:39:58 +00:00
parent 46abbc9dc9
commit 2206a24caa

View File

@ -8,7 +8,7 @@ let
# When adding entries to the json file, please use `jq . < go-packages.json --sort-keys`
# to canonicallize the data.
ghPackages = builtins.fromJSON (builtins.readFile ./go-packages.json);
ghPackages = stdenv.lib.importJSON ./go-packages.json;
self = _self // overrides; _self = with self; {