Merge pull request #286546 from Sigmanificient/kcachegrind-fix
kcachegrind: fix graphviz missing at runtime
This commit is contained in:
commit
3bf7b3d10e
1 changed files with 6 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
mkDerivation, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
karchive, ki18n, kio, perl, python3, php, qttools,
|
karchive, ki18n, kio, perl, python3, php, qttools,
|
||||||
kdbusaddons
|
kdbusaddons, makeBinaryWrapper, graphviz
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
|
@ -13,6 +13,10 @@ mkDerivation {
|
||||||
license = with lib.licenses; [ gpl2 ];
|
license = with lib.licenses; [ gpl2 ];
|
||||||
maintainers = with lib.maintainers; [ orivej ];
|
maintainers = with lib.maintainers; [ orivej ];
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools makeBinaryWrapper ];
|
||||||
buildInputs = [ karchive ki18n kio perl python3 php qttools kdbusaddons ];
|
buildInputs = [ karchive ki18n kio perl python3 php qttools kdbusaddons ];
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/kcachegrind \
|
||||||
|
--suffix PATH : "${lib.makeBinPath [ graphviz ]}"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue