vassal: add wrapGAppsHook

Fixes the file picker
This commit is contained in:
Francesco Gazzetta 2023-01-25 12:28:48 +01:00
parent 3f94eff79c
commit 60a23dd32c

View File

@ -1,4 +1,11 @@
{ lib, stdenv, fetchzip, jre, makeWrapper }:
{ lib
, stdenv
, fetchzip
, glib
, jre
, makeWrapper
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "VASSAL";
@ -9,7 +16,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-WTYMbVtAciscnBzR4uHmVVXpuge53e32uLmUF8/w6I0=";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
glib
];
nativeBuildInputs = [
makeWrapper
wrapGAppsHook
];
installPhase = ''
runHook preInstall