sile, simavr: fixup packages with RPATH problems
This commit is contained in:
parent
e9aeb55f3b
commit
cbdcc20e77
@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
|
|||||||
buildFlags = "AVR_ROOT=${avrgcclibc}/avr SIMAVR_VERSION=${version}";
|
buildFlags = "AVR_ROOT=${avrgcclibc}/avr SIMAVR_VERSION=${version}";
|
||||||
installFlags = buildFlags + " DESTDIR=$(out)";
|
installFlags = buildFlags + " DESTDIR=$(out)";
|
||||||
|
|
||||||
|
# Hack to avoid TMPDIR in RPATHs.
|
||||||
|
preFixup = ''rm -rf "$(pwd)" && mkdir "$(pwd)" '';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
target="$out/bin/simavr"
|
target="$out/bin/simavr"
|
||||||
patchelf --set-rpath "$(patchelf --print-rpath "$target"):$out/lib" "$target"
|
patchelf --set-rpath "$(patchelf --print-rpath "$target"):$out/lib" "$target"
|
||||||
|
@ -45,6 +45,9 @@ stdenv.mkDerivation rec {
|
|||||||
--set LUA_CPATH "${luaCPath};" \
|
--set LUA_CPATH "${luaCPath};" \
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Hack to avoid TMPDIR in RPATHs.
|
||||||
|
preFixup = ''rm -rf "$(pwd)" && mkdir "$(pwd)" '';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A typesetting system";
|
description = "A typesetting system";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user