about summary refs log tree commit diff
path: root/pkgs/development/tools/electron/binary/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/electron/binary/default.nix')
-rw-r--r--pkgs/development/tools/electron/binary/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/tools/electron/binary/default.nix b/pkgs/development/tools/electron/binary/default.nix
index b884428cf8b73..07637d13e9f25 100644
--- a/pkgs/development/tools/electron/binary/default.nix
+++ b/pkgs/development/tools/electron/binary/default.nix
@@ -1,8 +1,11 @@
+let
+  infoJson = builtins.fromJSON (builtins.readFile ./info.json);
+in
+
 { lib, callPackage }:
 
 let
   mkElectron = callPackage ./generic.nix { };
-  infoJson = builtins.fromJSON (builtins.readFile ./info.json);
 in
 lib.mapAttrs' (majorVersion: info:
   lib.nameValuePair