vassal: add wrapGAppsHook

Fixes the file picker
This commit is contained in:
Francesco Gazzetta
2023-01-25 12:28:48 +01:00
committed by Florian Brandes
parent d8d8145e6d
commit 0be2ffbc44

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-t05rwP33/V2S5pkWjv87GmPHtYCMrMxT3o3cOrwytK4=";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
glib
];
nativeBuildInputs = [
makeWrapper
wrapGAppsHook
];
installPhase = ''
runHook preInstall