xdg-desktop-portal: fix cross

+7
+7
pkgs/development/libraries/xdg-desktop-portal/default.nix
··· 76 76 77 77 nativeBuildInputs = [ 78 78 docutils # for rst2man 79 + glib 79 80 meson 80 81 ninja 81 82 pkg-config ··· 167 168 # need to set this ourselves, because the tests will set LD_PRELOAD=libumockdev-preload.so, 168 169 # which can't be found because it's not in default rpath 169 170 export LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so 171 + ''; 172 + 173 + # We can't disable the installedTests output when doCheck is disabled, 174 + # because that produces an infinite recursion. 175 + preFixup = lib.optionalString (!finalAttrs.finalPackage.doCheck) '' 176 + mkdir $installedTests 170 177 ''; 171 178 172 179 passthru = {