Merge pull request #275569 from wineee/deepin-system-monitor

deepin.deepin-system-monitor: 6.0.8 -> 6.0.9
This commit is contained in:
Nick Cao 2023-12-20 11:42:19 -05:00 committed by GitHub
commit 70603684be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,13 +27,13 @@
stdenv.mkDerivation rec {
pname = "deepin-system-monitor";
version = "6.0.8";
version = "6.0.9";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
hash = "sha256-7XvS5HviK9XRsxTGnreYX9IQxxGWk7x7MHtcsHCz1rc=";
hash = "sha256-ompsCTPmmF7S0UHNNU0YDQiTdvcFglpEoS4o+XMZ7jg=";
};
postPatch = ''
@ -41,8 +41,8 @@ stdenv.mkDerivation rec {
deepin-system-monitor-main/process/priority_controller.cpp \
deepin-system-monitor-main/service/service_manager.cpp \
deepin-system-monitor-main/translations/policy/com.deepin.pkexec.deepin-system-monitor.policy \
--replace "/usr/bin/kill" "${util-linux}/bin/kill" \
--replace "/usr/bin/renice" "${util-linux}/bin/renice" \
--replace "/usr/bin/kill" "${lib.getBin util-linux}/bin/kill" \
--replace "/usr/bin/renice" "${lib.getBin util-linux}/bin/renice" \
--replace '/usr/bin/systemctl' '${lib.getBin systemd}/systemctl'
substituteInPlace deepin-system-monitor-main/{service/service_manager.cpp,process/{priority_controller.cpp,process_controller.cpp}} \