ghidra: add doc output to withExtensions
This commit is contained in:
parent
ca16a8a13b
commit
96a730000c
|
@ -24,6 +24,7 @@ let
|
|||
f:
|
||||
(symlinkJoin {
|
||||
name = "${ghidra.pname}-with-extensions-${lib.getVersion ghidra}";
|
||||
outputs = [ "out" "doc" ];
|
||||
paths = (f allExtensions);
|
||||
nativeBuildInputs = [
|
||||
makeBinaryWrapper
|
||||
|
@ -35,6 +36,9 @@ let
|
|||
makeWrapper '${ghidra}/bin/ghidra-analyzeHeadless' "$out/bin/ghidra-analyzeHeadless" \
|
||||
--set NIX_GHIDRAHOME "$out/lib/ghidra/Ghidra"
|
||||
ln -s ${ghidra}/share $out/share
|
||||
|
||||
mkdir -p "$doc/share/doc"
|
||||
ln -s "${ghidra.doc}/share/doc/ghidra" "$doc/share/doc"
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
convertDesktopFiles $prefix
|
||||
|
|
Loading…
Reference in New Issue