about summary refs log tree commit diff
path: root/pkgs/applications/emulators
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-05-06 14:12:43 -0400
committerGitHub <noreply@github.com>2023-05-06 14:12:43 -0400
commit955f4f651291dd2013e5402a20979d0aae1026b0 (patch)
tree0ab2bf6410f74447b62a7eed1a980ea88b8ddc03 /pkgs/applications/emulators
parentda914e87cc3df201ef4c9397d54f7a380bc9e4bf (diff)
parent00000001b4f4a57961f35ba1e0db5a4806a38ba2 (diff)
Merge pull request #230177 from SuperSandro2000/lib-fromJSON-2
treewide: switch builtins.fromJSON(builtins.readFile ./file.json) to …
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r--pkgs/applications/emulators/retroarch/cores.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix
index e38fe646c4c3d..5da2ad7631879 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);