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

coreshot: fix building with qt 6.10 (#459359)

parents ef959e7a de8c403f
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitLab,
  fetchpatch,
  qt6,
  cmake,
  ninja,
@@ -20,6 +21,14 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-5KGaMCL9BCGZwK7HQz87B1qrNvx5SQyMooZw4MwMdCc=";
  };

  patches = [
    (fetchpatch {
      name = "fix-building-with-Qt-610";
      url = "https://gitlab.com/cubocore/coreapps/coreshot/-/commit/a01c943bec46eea261f545957dbafafc3ea370bb.patch";
      hash = "sha256-SD4bYM8nBnGPO8iS8htFZZFUdimbLmpqxgWPioLMjsM=";
    })
  ];

  nativeBuildInputs = [
    cmake
    ninja