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 , gmpxx
, ncurses5 , ncurses5
, gnustep , gnustep
, libffi
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "hopper"; pname = "hopper";
@ -30,7 +31,6 @@ stdenv.mkDerivation rec {
libbsd libbsd
python27 python27
gmpxx gmpxx
ncurses5 ncurses5
gnustep.libobjc gnustep.libobjc
]; ];
@ -54,6 +54,9 @@ stdenv.mkDerivation rec {
$sourceRoot/opt/hopper-${rev}/lib/libpthread_workqueue.so* \ $sourceRoot/opt/hopper-${rev}/lib/libpthread_workqueue.so* \
$out/lib $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 cp -r $sourceRoot/usr/share $out
runHook postInstall runHook postInstall