nixpkgs/pkgs/desktops/plasma-5/plasma-vault/encfs-path.patch

23 lines
904 B
Diff
Raw Normal View History

2017-10-11 05:37:54 +00:00
diff --git a/kded/engine/backends/encfs/encfsbackend.cpp b/kded/engine/backends/encfs/encfsbackend.cpp
2018-09-20 10:29:15 +00:00
index 628af7b..6edd38e 100644
2017-10-11 05:37:54 +00:00
--- a/kded/engine/backends/encfs/encfsbackend.cpp
+++ b/kded/engine/backends/encfs/encfsbackend.cpp
2018-09-20 10:29:15 +00:00
@@ -137,7 +137,7 @@ QProcess *EncFsBackend::encfs(const QStringList &arguments) const
auto config = KSharedConfig::openConfig(PLASMAVAULT_CONFIG_FILE);
KConfigGroup backendConfig(config, "EncfsBackend");
2017-10-11 05:37:54 +00:00
2018-09-20 10:29:15 +00:00
- return process("encfs",
+ return process(NIXPKGS_ENCFS,
arguments + backendConfig.readEntry("extraMountOptions", QStringList{}),
{});
2017-10-11 05:37:54 +00:00
}
2018-09-20 10:29:15 +00:00
@@ -146,7 +146,7 @@ QProcess *EncFsBackend::encfs(const QStringList &arguments) const
2017-10-11 05:37:54 +00:00
QProcess *EncFsBackend::encfsctl(const QStringList &arguments) const
{
- return process("encfsctl", arguments, {});
+ return process(NIXPKGS_ENCFSCTL, arguments, {});
}