diff options
author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2021-11-03 13:43:23 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-11-03 14:43:52 +0100 |
commit | 8547db919a05c86fe724b972b3130f305d6f4267 (patch) | |
tree | e32513b8699ad0fc393245b6528d867065787b01 /pkgs/tools/text/chroma | |
parent | c463cb880c4e85e116192d1e4a1c9bdf0072da1d (diff) |
treewide: switch ``builtins.fromJSON(builtins.readFile ./file.json)`` to lib.importJSON ./file.json
Diffstat (limited to 'pkgs/tools/text/chroma')
-rw-r--r-- | pkgs/tools/text/chroma/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/chroma/default.nix b/pkgs/tools/text/chroma/default.nix index f99c090eb975d..42784d65a7391 100644 --- a/pkgs/tools/text/chroma/default.nix +++ b/pkgs/tools/text/chroma/default.nix @@ -1,7 +1,7 @@ { lib, buildGoModule, fetchFromGitHub }: let - srcInfo = builtins.fromJSON (builtins.readFile ./src.json); + srcInfo = lib.importJSON ./src.json; in buildGoModule rec { |