Skip to content

Commit

Permalink
unigine-sanctuary, unigine-tropic: fix missing runHook
Browse files Browse the repository at this point in the history
  • Loading branch information
xddxdd committed Oct 3, 2024
1 parent eb00b32 commit 93c2052
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/uncategorized/unigine-sanctuary/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ stdenv.mkDerivation rec {
];

installPhase = ''
runHook preInstall
mkdir -p $out/bin
makeWrapper ${distPackage}/bin/Sanctuary $out/bin/unigine-sanctuary \
--chdir ${distPackage} \
Expand All @@ -78,6 +80,8 @@ stdenv.mkDerivation rec {
--add-flags "${distPackage}/data/unigine.cfg" \
--add-flags "-data_path" \
--add-flags "../../"
runHook postInstall
'';

desktopItems = [
Expand Down
4 changes: 4 additions & 0 deletions pkgs/uncategorized/unigine-tropics/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ stdenv.mkDerivation rec {
];

installPhase = ''
runHook preInstall
mkdir -p $out/bin
makeWrapper ${distPackage}/bin/Tropics $out/bin/unigine-tropics \
--chdir ${distPackage} \
Expand All @@ -78,6 +80,8 @@ stdenv.mkDerivation rec {
--add-flags "${distPackage}/data/unigine.cfg" \
--add-flags "-data_path" \
--add-flags "../../"
runHook postInstall
'';

desktopItems = [
Expand Down

0 comments on commit 93c2052

Please sign in to comment.