joplin-desktop: fix Backup plugin failing to creating archive redux (#469510)
This commit is contained in:
@@ -211,6 +211,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# Necessary for builtin Backup plugin
|
||||
postFixup =
|
||||
lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
chmod a+x $out/share/joplin-desktop/resources/build/7zip/7za
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
chmod a+x $out/Applications/Joplin.app/Contents/Resources/build/7zip/7za
|
||||
'';
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "joplin";
|
||||
|
||||
Reference in New Issue
Block a user