tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
qcachegrind: Fix build with Qt 5.10
adisbladis
8 years ago
97be994d
a25e6e1d
+9
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
analysis
qcachegrind
default.nix
+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 ];
0
0
0
0
0
0
0
0
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