megasync: Wrap xorg.xrdb

This commit is contained in:
HackerNCoder
2024-12-16 21:45:27 +01:00
parent a0f0eafede
commit f6bb4417aa

View File

@@ -31,6 +31,7 @@
sqlite,
unzip,
wget,
xorg,
zlib,
qt5,
}:
@@ -121,6 +122,10 @@ mkDerivation rec {
(lib.cmakeBool "ENABLE_DESIGN_TOKENS_IMPORTER" false) # cannot be fetched
];
postInstall = ''
wrapProgram $out/bin/megasync --prefix PATH : ${lib.makeBinPath [ xorg.xrdb ]}
'';
meta = with lib; {
description = "Easy automated syncing between your computers and your MEGA Cloud Drive";
homepage = "https://mega.nz/";