Commit 058334f5 authored by Qubic's avatar Qubic
Browse files

drawpile: fix build

parent ee09932c
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
  extra-cmake-modules,
  rustc,
  rustPlatform,
  fetchpatch,

  # common deps
  libzip,
@@ -78,6 +79,16 @@ stdenv.mkDerivation rec {
    hash = "sha256-u9fRbxKeQSou9Umw4EaqzzzDiN4zhyfx9sWnlZpfpxU=";
  };

  patches = [
    # Remove for 2.3.1
    # QT updated and broke some functionality so we have to get the commit that fixes it from upstream
    (fetchpatch {
      name = "qt-6.10.1.patch";
      url = "https://github.com/drawpile/Drawpile/commit/c4f69f79b1cb0d25e68b49e807ce6773ddb9dd3c.patch";
      hash = "sha256-Z8mcPux8tvK5y1GirfKq1X9+kxHDIrnSLTd2MCSIxTg=";
    })
  ];

  nativeBuildInputs = [
    cargo
    extra-cmake-modules