uhttpmock: fix cross

no idea why this still happens here when this issue was fixed in
gobject-introspection hook and the fix works for other packages
This commit is contained in:
Artturin 2022-08-07 06:27:50 +03:00
parent a52d95ac10
commit b59f013860

View file

@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
# while cross
# /build/source/tmp-introspect3xf43lf3/.libs/Uhm-0.0: error while loading shared libraries: libuhttpmock-0.0.so.0: cannot open shared object file: No such file or directory
preBuild = ''
mkdir -p ${placeholder "out"}/lib
ln -s $PWD/libuhttpmock/.libs/libuhttpmock-0.0.so.0 ${placeholder "out"}/lib/libuhttpmock-0.0.so.0
'';
meta = with lib; {
description = "Project for mocking web service APIs which use HTTP or HTTPS";
homepage = "https://gitlab.com/groups/uhttpmock/";