mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
2e0589b4ca
Upstream changes to the build system required adjusting many packages' dependencies. On the Nixpkgs side, we no longer propagate the dependency on cmake (to reduce closure size), so downstream dependencies had to be adjusted for most packages that depend on kdelibs.
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From 6b5730e729d72c8d9242163e7061b956abee61f5 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Tuegel <ttuegel@gmail.com>
|
|
Date: Sat, 12 Sep 2015 16:14:10 -0500
|
|
Subject: [PATCH] search paths
|
|
|
|
---
|
|
src/utilities/utility.cpp | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/utilities/utility.cpp b/src/utilities/utility.cpp
|
|
index 2e322aa..2e9e4d2 100644
|
|
--- a/src/utilities/utility.cpp
|
|
+++ b/src/utilities/utility.cpp
|
|
@@ -299,6 +299,7 @@ QString Utility::searchExternalPrograms(const QString& programToSearch, bool& pr
|
|
|
|
QString programPathName;
|
|
QStringList searchPathList = Settings::searchPathList();
|
|
+ searchPathList << "/usr/bin/unpar" << "/usr/bin/unrar" << "/usr/bin/7z";
|
|
|
|
QStringList programsWithDifferentNames = programToSearch.split(";");
|
|
|
|
@@ -368,7 +369,7 @@ QStringList Utility::buildPriorityArgument(const int& processPriority, const int
|
|
QStringList niceProcessArgs;
|
|
|
|
// look for 'nice' location :
|
|
- QString nicePath = KStandardDirs::findExe("nice");
|
|
+ QString nicePath = QString("/usr/bin/nice");
|
|
niceProcessArgs.append(nicePath);
|
|
niceProcessArgs.append("-n");
|
|
|
|
--
|
|
2.5.0
|
|
|