1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00
nixpkgs/pkgs/desktops/plasma-5/plasma-vault/encfs-path.patch

23 lines
904 B
Diff
Raw Normal View History

2017-10-11 06:37:54 +01:00
diff --git a/kded/engine/backends/encfs/encfsbackend.cpp b/kded/engine/backends/encfs/encfsbackend.cpp
2018-09-20 11:29:15 +01:00
index 628af7b..6edd38e 100644
2017-10-11 06:37:54 +01:00
--- a/kded/engine/backends/encfs/encfsbackend.cpp
+++ b/kded/engine/backends/encfs/encfsbackend.cpp
2018-09-20 11:29:15 +01: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 06:37:54 +01:00
2018-09-20 11:29:15 +01:00
- return process("encfs",
+ return process(NIXPKGS_ENCFS,
arguments + backendConfig.readEntry("extraMountOptions", QStringList{}),
{});
2017-10-11 06:37:54 +01:00
}
2018-09-20 11:29:15 +01:00
@@ -146,7 +146,7 @@ QProcess *EncFsBackend::encfs(const QStringList &arguments) const
2017-10-11 06:37:54 +01:00
QProcess *EncFsBackend::encfsctl(const QStringList &arguments) const
{
- return process("encfsctl", arguments, {});
+ return process(NIXPKGS_ENCFSCTL, arguments, {});
}