Merge pull request #241057 from dotemup/gridtracker

gridtracker: add wrapGAppsHook
This commit is contained in:
Nick Cao 2023-07-11 10:39:54 +08:00 committed by GitHub
commit 87f8573816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)/'