From 02d361af8602a9748b30f6281bdcd349cd8e3c5a Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 1 Jan 2025 06:37:14 +0100 Subject: [PATCH] xdg-desktop-portal: format --- .../libraries/xdg-desktop-portal/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/xdg-desktop-portal/default.nix b/pkgs/development/libraries/xdg-desktop-portal/default.nix index b492fba90534..52a78442e84c 100644 --- a/pkgs/development/libraries/xdg-desktop-portal/default.nix +++ b/pkgs/development/libraries/xdg-desktop-portal/default.nix @@ -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)