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

14 lines
674 B
Diff
Raw Normal View History

2017-10-11 05:37:54 +00:00
diff --git a/kded/engine/backends/cryfs/cryfsbackend.cpp b/kded/engine/backends/cryfs/cryfsbackend.cpp
2018-09-20 10:29:15 +00:00
index 58a6929..7212980 100644
2017-10-11 05:37:54 +00:00
--- a/kded/engine/backends/cryfs/cryfsbackend.cpp
+++ b/kded/engine/backends/cryfs/cryfsbackend.cpp
2018-09-20 10:29:15 +00:00
@@ -241,7 +241,7 @@ QProcess *CryFsBackend::cryfs(const QStringList &arguments) const
auto config = KSharedConfig::openConfig(PLASMAVAULT_CONFIG_FILE);
KConfigGroup backendConfig(config, "CryfsBackend");
2017-10-11 05:37:54 +00:00
- return process("cryfs",
+ return process(NIXPKGS_CRYFS,
2018-09-20 10:29:15 +00:00
arguments + backendConfig.readEntry("extraMountOptions", QStringList{}),
2017-10-11 05:37:54 +00:00
{ { "CRYFS_FRONTEND", "noninteractive" } });
}