gridtracker: add wrapGAppsHook

This commit is contained in:
dotemup 2023-07-02 03:35:35 -04:00
parent cb3dc949be
commit f391b86e96

@ -1,9 +1,4 @@
{ lib
, stdenv
, fetchFromGitLab
, nix-update-script
, nwjs
}:
{ lib, stdenv, fetchFromGitLab, nix-update-script, nwjs, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "gridtracker";
@ -16,6 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-6SQuFN8Fi0fbWCYrQIIeSaXR2haI7uux4txCPKEoJvo=";
};
nativeBuildInputs = [ wrapGAppsHook ];
postPatch = ''
substituteInPlace Makefile \
--replace '$(DESTDIR)/usr' '$(DESTDIR)/'