Commit 02d361af authored by Jan Tojnar's avatar Jan Tojnar
Browse files

xdg-desktop-portal: format

parent 141ea41c
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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)