hopper: libffi compatibility symlink

This commit is contained in:
Jörg Thalheim 2020-02-19 14:58:43 +00:00
parent 8df76db739
commit e8343960a9
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -8,6 +8,7 @@
, gmpxx
, ncurses5
, gnustep
, libffi
}:
stdenv.mkDerivation rec {
pname = "hopper";
@ -30,7 +31,6 @@ stdenv.mkDerivation rec {
libbsd
python27
gmpxx
ncurses5
gnustep.libobjc
];
@ -54,6 +54,9 @@ stdenv.mkDerivation rec {
$sourceRoot/opt/hopper-${rev}/lib/libpthread_workqueue.so* \
$out/lib
# we already ship libffi.so.7
ln -s ${lib.getLib libffi}/lib/libffi.so $out/lib/libffi.so.6
cp -r $sourceRoot/usr/share $out
runHook postInstall