luaPackages.lgi: fix cross

This commit is contained in:
Artturin 2022-08-25 00:38:06 +03:00
parent 50a629cc3a
commit bdb8ca175a

View file

@ -172,6 +172,12 @@ with prev;
})
];
# https://github.com/lgi-devs/lgi/pull/300
postPatch = ''
substituteInPlace lgi/Makefile tests/Makefile \
--replace 'PKG_CONFIG =' 'PKG_CONFIG ?='
'';
# there is only a rockspec.in in the repo, the actual rockspec must be generated
preConfigure = ''
make rock