Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

qcachegrind: Fix build with Qt 5.10

+9 -1
+9 -1
pkgs/development/tools/analysis/qcachegrind/default.nix
··· 1 - { stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php, kcachegrind }: 1 + { stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php, kcachegrind, fetchpatch }: 2 2 3 3 let 4 4 name = stdenv.lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name; ··· 11 11 buildInputs = [ qtbase perl python php ]; 12 12 13 13 nativeBuildInputs = [ qmake ]; 14 + 15 + patches = [ 16 + (fetchpatch { 17 + name = "fix-qt5_10-build.patch"; 18 + url = https://github.com/KDE/kcachegrind/commit/c41607a.patch; 19 + sha256 = "00kh5im3hpcarch8rc2dsgxsajfmd8vd7rry9x6mxrbkgr4ifq8y"; 20 + }) 21 + ]; 14 22 15 23 postInstall = '' 16 24 mkdir -p $out/bin