diff options
author | superherointj <5861043+superherointj@users.noreply.github.com> | 2024-05-17 10:57:20 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 10:57:20 -0300 |
commit | c2ea18b50a4c7fcb7c90402166769bf3b82b5aa9 (patch) | |
tree | 2c5005da8c62119212f005f59da8d15456594677 /pkgs | |
parent | 7b1905674befce4e188c8de391e3ecc4328eacd7 (diff) | |
parent | 465257bcb2daec5e8dccda1c78b099d12f3b1fda (diff) |
Merge pull request #312337 from tracteurblinde/godot_4-install-hooks
godot_4: add installPhase hooks
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/godot/4/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/tools/godot/4/default.nix b/pkgs/development/tools/godot/4/default.nix index b0db2e0b4f4f1..111cf9e0a187b 100644 --- a/pkgs/development/tools/godot/4/default.nix +++ b/pkgs/development/tools/godot/4/default.nix @@ -132,6 +132,8 @@ stdenv.mkDerivation rec { outputs = [ "out" "man" ]; installPhase = '' + runHook preInstall + mkdir -p "$out/bin" cp bin/godot.* $out/bin/godot4 @@ -144,6 +146,8 @@ stdenv.mkDerivation rec { --replace "Godot Engine" "Godot Engine 4" cp icon.svg "$out/share/icons/hicolor/scalable/apps/godot.svg" cp icon.png "$out/share/icons/godot.png" + + runHook postInstall ''; meta = { |