diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-05-05 21:39:20 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-05-06 16:20:13 +0200 |
commit | 00000001b4f4a57961f35ba1e0db5a4806a38ba2 (patch) | |
tree | 1e836d5f19d930d1444dd4095edb8b27d038f197 /pkgs/applications/emulators/retroarch/cores.nix | |
parent | 24685bcce906b2854f6eb0b57e7e30893f74f547 (diff) | |
download | nixpkgs-00000001b4f4a57961f35ba1e0db5a4806a38ba2.tar nixpkgs-00000001b4f4a57961f35ba1e0db5a4806a38ba2.tar.gz nixpkgs-00000001b4f4a57961f35ba1e0db5a4806a38ba2.tar.bz2 nixpkgs-00000001b4f4a57961f35ba1e0db5a4806a38ba2.tar.lz nixpkgs-00000001b4f4a57961f35ba1e0db5a4806a38ba2.tar.xz nixpkgs-00000001b4f4a57961f35ba1e0db5a4806a38ba2.tar.zst nixpkgs-00000001b4f4a57961f35ba1e0db5a4806a38ba2.zip |
treewide: switch builtins.fromJSON(builtins.readFile ./file.json) to lib.importJSON ./file.json #2
Diffstat (limited to 'pkgs/applications/emulators/retroarch/cores.nix')
-rw-r--r-- | pkgs/applications/emulators/retroarch/cores.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index e38fe646c4c..5da2ad76318 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -42,7 +42,7 @@ }: let - hashesFile = builtins.fromJSON (builtins.readFile ./hashes.json); + hashesFile = lib.importJSON ./hashes.json; getCoreSrc = core: fetchFromGitHub (builtins.getAttr core hashesFile); |