diff options
author | gnidorah <gnidorah@users.noreply.github.com> | 2018-07-14 23:06:41 +0300 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-07-14 22:06:41 +0200 |
commit | 1727513d4dfa49e6c7ba36bd5c592c7979d3904e (patch) | |
tree | 626550f08d95317482125fd9f80df2f5339cbe58 /pkgs/development/tools/electron | |
parent | b61825e8560a0b732023c4650e9b467aa53f0313 (diff) |
electron: add gtk2 dependency (#43379)
Diffstat (limited to 'pkgs/development/tools/electron')
-rw-r--r-- | pkgs/development/tools/electron/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/electron/default.nix b/pkgs/development/tools/electron/default.nix index f2b9348103ab..38432e58d0d9 100644 --- a/pkgs/development/tools/electron/default.nix +++ b/pkgs/development/tools/electron/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, libXScrnSaver, makeWrapper, fetchurl, unzip, atomEnv }: +{ stdenv, lib, libXScrnSaver, makeWrapper, fetchurl, unzip, atomEnv, gtk2 }: let version = "1.8.2"; @@ -47,7 +47,7 @@ let patchelf \ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ - --set-rpath "${atomEnv.libPath}:$out/lib/electron" \ + --set-rpath "${atomEnv.libPath}:${gtk2}/lib:$out/lib/electron" \ $out/lib/electron/electron wrapProgram $out/lib/electron/electron \ |