mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
go-packages: use lib.importJSON
This commit is contained in:
parent
46abbc9dc9
commit
2206a24caa
@ -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; {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user