3
0
Fork 0
forked from mirrors/nixpkgs

cryptomator: use non-binary wrapper for wrapGAppsHook

The use of --add-flags in this derivation does not work with binary
    wrappers, which wrapGAppsHook uses since #164163.
This commit is contained in:
Dominik Xaver Hörl 2022-05-10 14:25:43 +02:00
parent 86e7fa945e
commit 9709c5f4a4

View file

@ -98,7 +98,13 @@ in stdenv.mkDerivation rec {
cp ${src}/dist/linux/common/application-vnd.cryptomator.vault.xml $out/share/mime/packages/application-vnd.cryptomator.vault.xml
'';
nativeBuildInputs = [ autoPatchelfHook maven makeWrapper wrapGAppsHook jdk ];
nativeBuildInputs = [
autoPatchelfHook
maven
makeWrapper
(wrapGAppsHook.override { makeBinaryWrapper = makeWrapper; })
jdk
];
buildInputs = [ fuse jre glib jffi ];
meta = with lib; {