guile_ncurses: Use absolute path to load libguile-ncurses

This commit is contained in:
Drill Bear 2016-10-12 20:47:55 +01:00
parent 1371499530
commit 71ea89f5e1

View file

@ -13,6 +13,13 @@ stdenv.mkDerivation rec {
preConfigure =
'' configureFlags="$configureFlags --with-guilesitedir=$out/share/guile/site" '';
postFixup =
'' for f in $out/share/guile/site/ncurses/**.scm; do \
substituteInPlace $f \
--replace "libguile-ncurses" "$out/lib/libguile-ncurses"; \
done
'';
doCheck = false; # XXX: 1 of 65 tests failed
meta = {