From 3c04632b49542f1f1672da12439c2827af7aa862 Mon Sep 17 00:00:00 2001 From: Theo Paris Date: Mon, 7 Oct 2024 00:15:16 -0700 Subject: [PATCH] Add install phase --- package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package.nix b/package.nix index 2eb86b0d020..85b5dc6adaa 100644 --- a/package.nix +++ b/package.nix @@ -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 + ''; }