diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-10-03 03:03:18 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-10-03 16:37:26 +0200 |
commit | bbd62ccd6cc60505ba66cfec4ce9ea3a493da2be (patch) | |
tree | 068feb0fa666061ccde43bd4188f240560fed498 /pkgs/development/tools/electron | |
parent | 5d5e71a3acf6ec18dbf58c5d52cdc62eea4779e9 (diff) |
electron-bin: use callPackage
Diffstat (limited to 'pkgs/development/tools/electron')
-rw-r--r-- | pkgs/development/tools/electron/binary/default.nix | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/pkgs/development/tools/electron/binary/default.nix b/pkgs/development/tools/electron/binary/default.nix index 6cdcac1a70dbf..94c7b2750a902 100644 --- a/pkgs/development/tools/electron/binary/default.nix +++ b/pkgs/development/tools/electron/binary/default.nix @@ -1,29 +1,9 @@ -{ lib, stdenv -, libXScrnSaver -, makeWrapper -, fetchurl -, wrapGAppsHook -, glib -, gtk3 -, unzip -, atomEnv -, libuuid -, at-spi2-atk -, at-spi2-core -, libdrm -, mesa -, libxkbcommon -, libappindicator-gtk3 -, libxshmfence -, libglvnd -, wayland -}@args: +{ callPackage }: let - mkElectron = import ./generic.nix args; + mkElectron = callPackage ./generic.nix { }; in rec { - electron-bin = electron_26-bin; electron_10-bin = mkElectron "10.4.7" { |