forked from mirrors/nixpkgs
treewide: fixup packages with RPATH problems
This commit is contained in:
parent
0b89f71a07
commit
65ede052fa
|
@ -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/;
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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) ''
|
||||
|
|
Loading…
Reference in a new issue