mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
treewide: Mass replace 'bzip2}/lib' to refer the 'out' output
This commit is contained in:
parent
d005808127
commit
51bf60b33e
@ -57,7 +57,7 @@ in let
|
|||||||
--set NIX_REDIRECTS ${builtins.concatStringsSep ":" redirects}
|
--set NIX_REDIRECTS ${builtins.concatStringsSep ":" redirects}
|
||||||
|
|
||||||
# Without this, plugin_host crashes, even though it has the rpath
|
# Without this, plugin_host crashes, even though it has the rpath
|
||||||
wrapProgram $out/plugin_host --prefix LD_PRELOAD : ${stdenv.cc.cc}/lib${stdenv.lib.optionalString stdenv.is64bit "64"}/libgcc_s.so.1:${openssl}/lib/libssl.so:${bzip2}/lib/libbz2.so
|
wrapProgram $out/plugin_host --prefix LD_PRELOAD : ${stdenv.cc.cc}/lib${stdenv.lib.optionalString stdenv.is64bit "64"}/libgcc_s.so.1:${openssl}/lib/libssl.so:${bzip2.out}/lib/libbz2.so
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
postInstall =
|
postInstall =
|
||||||
'' sed -i "$out/lib/pkgconfig/tokyocabinet.pc" \
|
'' sed -i "$out/lib/pkgconfig/tokyocabinet.pc" \
|
||||||
-e 's|-lz|-L${zlib}/lib -lz|g;
|
-e 's|-lz|-L${zlib}/lib -lz|g;
|
||||||
s|-lbz2|-L${bzip2}/lib -lbz2|g'
|
s|-lbz2|-L${bzip2.out}/lib -lbz2|g'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -1940,7 +1940,7 @@ let self = _self // overrides; _self = with self; {
|
|||||||
|
|
||||||
# Don't build a private copy of bzip2.
|
# Don't build a private copy of bzip2.
|
||||||
BUILD_BZIP2 = false;
|
BUILD_BZIP2 = false;
|
||||||
BZIP2_LIB = "${pkgs.bzip2}/lib";
|
BZIP2_LIB = "${pkgs.bzip2.out}/lib";
|
||||||
BZIP2_INCLUDE = "${pkgs.bzip2}/include";
|
BZIP2_INCLUDE = "${pkgs.bzip2}/include";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user