electron: add gtk2 dependency (#43379)
This commit is contained in:
parent
b61825e856
commit
1727513d4d
1 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue