treewide: fixup packages with RPATH problems

This commit is contained in:
Vladimír Čunát 2017-05-16 16:35:52 +02:00
parent 0b89f71a07
commit 65ede052fa
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
7 changed files with 21 additions and 0 deletions

View File

@ -34,6 +34,9 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/calc --prefix LD_LIBRARY_PATH : $out/lib
'';
# Hack to avoid TMPDIR in RPATHs.
preFixup = ''rm -rf "$(pwd)" '';
meta = {
description = "C-style arbitrary precision calculator";
homepage = http://www.isthe.com/chongo/tech/comp/calc/;

View File

@ -32,6 +32,9 @@ stdenv.mkDerivation rec {
checkTarget = "test";
# Hack to avoid TMPDIR in RPATHs.
preFixup = ''rm -rf "$(pwd)" '';
meta = {
description = "Efficient Scheme compiler";
homepage = http://www-sop.inria.fr/indes/fp/Bigloo/;

View File

@ -253,6 +253,9 @@ stdenv.mkDerivation rec {
ln -s ${binutils}/bin/ar $out/bin/ar
'';
# Hack to avoid TMPDIR in RPATHs.
preFixup = ''rm -rf "$(pwd)" '';
meta = with stdenv.lib; {
description = "The Swift Programming Language";
homepage = "https://github.com/apple/swift";

View File

@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ libusb ];
# Hack to avoid TMPDIR in RPATHs.
preFixup = ''rm -rf "$(pwd)" '';
meta = {
description = "A library to talk to FTDI chips using libusb";
homepage = http://www.intra2net.com/en/developer/libftdi/;

View File

@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
--prefix LD_LIBRARY_PATH : $out/lib
'';
# Hack to avoid TMPDIR in RPATHs.
preFixup = ''rm -rf "$(pwd)" '';
meta = {
description = "Just another free touch typing tutor program";
homepage = http://klavaro.sourceforge.net/;

View File

@ -23,6 +23,9 @@ stdenv.mkDerivation {
cp -va "out/public-include/"* "$out/include/"
'';
# Hack to avoid TMPDIR in RPATHs.
preFixup = ''rm -rf "$(pwd)" '';
meta = {
homepage = "http://linux.dell.com/libsmbios/main";
description = "A library to obtain BIOS information";

View File

@ -9,6 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "1igqy0j7jrklb8fdlrm6ald4cyl1fda5ipfl8crzyl6bax2ajk3f";
};
# Hack to avoid TMPDIR in RPATHs.
preFixup = ''rm -rf "$(pwd)" '';
# For some reason (probably a build system bug), the binary isn't
# properly linked to $out/lib to find libfuzzy.so
postFixup = stdenv.lib.optionalString (!stdenv.isDarwin) ''