xdg-desktop-portal: format

This commit is contained in:
Jan Tojnar
2025-01-05 20:28:46 +01:00
parent 141ea41cba
commit 02d361af86
@@ -74,12 +74,6 @@ stdenv.mkDerivation (finalAttrs: {
./installed-tests-share.patch
];
# until/unless bubblewrap ships a pkg-config file, meson has no way to find it when cross-compiling.
postPatch = ''
substituteInPlace meson.build \
--replace-fail "find_program('bwrap'" "find_program('${lib.getExe bubblewrap}'"
'';
nativeBuildInputs = [
docbook_xml_dtd_412
docbook_xml_dtd_43
@@ -149,6 +143,12 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
postPatch = ''
# until/unless bubblewrap ships a pkg-config file, meson has no way to find it when cross-compiling.
substituteInPlace meson.build \
--replace-fail "find_program('bwrap'" "find_program('${lib.getExe bubblewrap}'"
'';
preCheck = ''
# For test_trash_file
export HOME=$(mktemp -d)