git.iko.soy/typeable/nixpkgs
on master help sign in
sublime3: set rpath for libbz2 and libssl

This fixes the Package Control package.

commit4d807e55aa854b825756016d0af40f84d9af6d8f authorCharles Strahan <charles.c.strahan@gmail.com> dateTue 18 Nov 2014, 00:36 (12 years ago) parent117f335
1 file changed+2−2
pkgs/applications/editors/sublime3/default.nix+2−2
pkgs/applications/editors/sublime3/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, glib, xlibs, cairo, gtk, pango, makeWrapper}:
1+{ fetchurl, stdenv, glib, xlibs, cairo, gtk, pango, makeWrapper, openssl, bzip2 }:
22
33assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
44
@@ -41,7 +41,7 @@ in let
4141 mkdir -p $out
4242 cp -prvd * $out/
4343 # Without this, plugin_host crashes, even though it has the rpath
44− wrapProgram $out/plugin_host --prefix LD_PRELOAD : ${stdenv.gcc.gcc}/lib${stdenv.lib.optionalString stdenv.is64bit "64"}/libgcc_s.so.1
44+ 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
4545 '';
4646 };
4747in stdenv.mkDerivation {