Unverified Commit c01d3238 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

rpi-imager: remove `qt_add_lupdate` to fix build (#460416)

parents a330c9ce ea078218
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -34,6 +34,9 @@ stdenv.mkDerivation (finalAttrs: {
  postPatch = ''
    substituteInPlace debian/org.raspberrypi.rpi-imager.desktop \
      --replace-fail "/usr/bin/" ""

    substituteInPlace src/CMakeLists.txt \
      --replace-fail 'qt_add_lupdate(TS_FILES ''${TRANSLATIONS} SOURCE_TARGETS ''${PROJECT_NAME} OPTIONS -no-obsolete -locations none)' ""
  '';

  preConfigure = ''