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 }: 2 3 let 4 name = stdenv.lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name; ··· 11 buildInputs = [ qtbase perl python php ]; 12 13 nativeBuildInputs = [ qmake ]; 14 15 postInstall = '' 16 mkdir -p $out/bin
··· 1 + { stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php, kcachegrind, fetchpatch }: 2 3 let 4 name = stdenv.lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name; ··· 11 buildInputs = [ qtbase perl python php ]; 12 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 + ]; 22 23 postInstall = '' 24 mkdir -p $out/bin