kcachegrind: fix graphviz missing at runtime

+6 -2
+6 -2
pkgs/applications/kde/kcachegrind.nix
··· 2 mkDerivation, lib, 3 extra-cmake-modules, kdoctools, 4 karchive, ki18n, kio, perl, python3, php, qttools, 5 - kdbusaddons 6 }: 7 8 mkDerivation { ··· 13 license = with lib.licenses; [ gpl2 ]; 14 maintainers = with lib.maintainers; [ orivej ]; 15 }; 16 - nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 17 buildInputs = [ karchive ki18n kio perl python3 php qttools kdbusaddons ]; 18 }
··· 2 mkDerivation, lib, 3 extra-cmake-modules, kdoctools, 4 karchive, ki18n, kio, perl, python3, php, qttools, 5 + kdbusaddons, makeBinaryWrapper, graphviz 6 }: 7 8 mkDerivation { ··· 13 license = with lib.licenses; [ gpl2 ]; 14 maintainers = with lib.maintainers; [ orivej ]; 15 }; 16 + nativeBuildInputs = [ extra-cmake-modules kdoctools makeBinaryWrapper ]; 17 buildInputs = [ karchive ki18n kio perl python3 php qttools kdbusaddons ]; 18 + postInstall = '' 19 + wrapProgram $out/bin/kcachegrind \ 20 + --suffix PATH : "${lib.makeBinPath [ graphviz ]}" 21 + ''; 22 }