mpvScripts.mpris: support cross compilation

This commit is contained in:
Colin
2023-08-13 06:19:25 +03:00
committed by Artturin
parent ead1dc9913
commit df622909ad
@@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
buildInputs = [ glib mpv-unwrapped ];
postPatch = ''
substituteInPlace Makefile --replace 'PKG_CONFIG =' 'PKG_CONFIG ?='
'';
installFlags = [ "SCRIPTS_DIR=$(out)/share/mpv/scripts" ];
# Otherwise, the shared object isn't `strip`ped. See: