diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2014-11-18 00:36:12 +0000 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2014-11-18 00:38:36 +0000 |
commit | 4d807e55aa854b825756016d0af40f84d9af6d8f (patch) | |
tree | 56c3edacafc2888194d5be3c3d006e8d2fd59e7d /pkgs/applications/editors | |
parent | 117f3359ace66dcec4ad1df4af057ad3e70c68c6 (diff) |
sublime3: set rpath for libbz2 and libssl
This fixes the Package Control package.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/sublime3/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/sublime3/default.nix b/pkgs/applications/editors/sublime3/default.nix index 87310efc8754d..c27f5171de596 100644 --- a/pkgs/applications/editors/sublime3/default.nix +++ b/pkgs/applications/editors/sublime3/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, glib, xlibs, cairo, gtk, pango, makeWrapper}: +{ fetchurl, stdenv, glib, xlibs, cairo, gtk, pango, makeWrapper, openssl, bzip2 }: assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux"; @@ -41,7 +41,7 @@ in let mkdir -p $out cp -prvd * $out/ # Without this, plugin_host crashes, even though it has the rpath - wrapProgram $out/plugin_host --prefix LD_PRELOAD : ${stdenv.gcc.gcc}/lib${stdenv.lib.optionalString stdenv.is64bit "64"}/libgcc_s.so.1 + wrapProgram $out/plugin_host --prefix LD_PRELOAD : ${stdenv.gcc.gcc}/lib${stdenv.lib.optionalString stdenv.is64bit "64"}/libgcc_s.so.1:${openssl}/lib/libssl.so:${bzip2}/lib/libbz2.so ''; }; in stdenv.mkDerivation { |