Skip to content

Commit

Permalink
Add install phase
Browse files Browse the repository at this point in the history
  • Loading branch information
theoparis committed Oct 7, 2024
1 parent e427943 commit 3c04632
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,12 @@ stdenv.mkDerivation {
sconsFlags = lib.optionals stdenv.targetPlatform.isDarwin [
"vulkan_sdk_path=${darwin.moltenvk}"
];

installPhase = ''
runHook preInstall
mkdir -p "$out/bin"
cp bin/godot.* $out/bin/redot
runHook postInstall
'';
}

0 comments on commit 3c04632

Please sign in to comment.