diff --git a/pkgs/tools/security/ghidra/default.nix b/pkgs/tools/security/ghidra/default.nix index 835f607206ff..3b3f5ed44e70 100644 --- a/pkgs/tools/security/ghidra/default.nix +++ b/pkgs/tools/security/ghidra/default.nix @@ -62,7 +62,9 @@ in stdenv.mkDerivation rec { postFixup = '' mkdir -p "$out/bin" - makeWrapper "${pkg_path}/ghidraRun" "$out/bin/ghidra" \ + ln -s "${pkg_path}/ghidraRun" "$out/bin/ghidra" + + wrapProgram "${pkg_path}/support/launch.sh" \ --prefix PATH : ${lib.makeBinPath [ openjdk11 ]} '';