mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
ghidra-bin: wrap launcher instead of the binary
This commit is contained in:
parent
a0d0c597ad
commit
3e85813580
@ -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 ]}
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user