Commit Graph

83 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
ec32dd4de6 ghidra-extensions.lightkeeper: 1.1.0 -> 1.1.1 2024-09-13 04:57:53 +00:00
roblabla
04395d8b60 ghidra: Fix build under gradle 8.9+
This is applying the recommended upstream fix from
30628db2d0
2024-09-10 13:57:31 +02:00
John Chadwick
521380e506 ghidra-extensions.ghidra-delinker-extension: 0.4.0 -> 0.5.0 2024-08-22 17:17:40 -04:00
Sandro
c511e48ab5
Merge pull request #328947 from jchw-forks/add-ghidra-delinker-extension 2024-08-22 14:45:41 +02:00
Philip Taron
a5d230f942
ghidra: remove with statements 2024-08-18 06:32:23 -07:00
roblabla
be6aa219ed ghidra: Add ghidra-analyzeHeadless to PATH
This new binary is an alias to the support/analyzeHeadless script, which
is used to run ghidra scripts in a headless manner. This
ghidra-analyzeHeadless name is also the one used by the ArchLinux
package.
2024-08-11 23:21:37 +02:00
John Chadwick
459f120b68 ghidra-extensions.ghidra-delinker-extension: init at 0.4.0 2024-08-06 21:25:19 -04:00
vringar
57a7c134de ghidra: chore run nixfmt-rfc-style on ghidra dir 2024-08-06 16:24:43 +10:00
vringar
acc5bfc38d ghidra-extensions.lightkeeper: init at 1.1.0 2024-08-06 16:24:41 +10:00
vringar
b72d4eb3ce ghidra-extensions.ret-sync: init at unstable-2024-05-29 2024-08-06 16:24:23 +10:00
Emily Trau
353ccf0c46 ghidra.buildGhidraExtension: improve compatibility with darwin 2024-08-06 16:22:06 +10:00
vringar
5c354f19ea ghidra: restore configurability to buildGhidraExtension
This is required as Ghidra plugins don't have a consistent
layout and have to be widely configurable
2024-08-02 13:11:01 +02:00
John Chadwick
8563366220 ghidra: upgrade to gradle 8, openjdk 21 2024-07-14 17:23:01 -04:00
John Chadwick
9649c79580 ghidra: 11.1.1 -> 11.1.2 2024-07-14 17:22:53 -04:00
chayleaf
89cb3894ff
ghidra: convert to gradle setup hook 2024-07-12 21:36:15 +07:00
xenia
a8476824ee ghidra{,-bin}: desktop file fixes
- add StartupWMClass to allow window manager to associate ghidra windows
  with the desktop file
- add `terminal = false` from ghidra into ghidra-bin
2024-07-01 23:17:40 -04:00
John Chadwick
adaf51e750 ghidra: 11.0.3 -> 11.1.1 2024-06-22 00:34:30 -04:00
John Chadwick
495d0374ef ghidra: reformat to rfc style 2024-06-22 00:32:27 -04:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Emily Trau
27f69fa93e ghidra: improve desktop support 2024-05-26 16:50:09 +10:00
vringar
a44a2981ef make vringar maintainer 2024-05-20 12:52:10 +10:00
Emily Trau
0c4afba0b3 ghidra-extensions.machinelearning: init at 11.0.2 2024-05-20 12:52:10 +10:00
Emily Trau
85dc0632cd ghidra-extensions.sleighdevtools: init at 11.0.2 2024-05-20 12:52:10 +10:00
Emily Trau
5a7c5c4c48 ghidra-extensions.gnudisassembler: init at 11.0.2 2024-05-20 12:52:06 +10:00
Emily Trau
4e3898b79a ghidra-extensions.ghidraninja-ghidra-scripts: init at unstable-2020-10-07 2024-05-20 12:51:43 +10:00
Emily Trau
204a20a512 ghidra: support extensions 2024-05-20 12:51:38 +10:00
vringar
2223e29973 ghidra: call hooks as part of phases 2024-05-15 22:44:50 +02:00
R. Ryantm
472fc05956 ghidra: 11.0.2 -> 11.0.3 2024-05-05 07:43:56 +00:00
Sandro
6bd6ea8493
Merge pull request #300022 from roblabla/ghidra-11.0.2 2024-04-09 11:35:07 +02:00
roblabla
e989382eb6 ghidra: 11.0 -> 11.0.2 2024-04-09 00:46:05 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
roblabla
63574be95c ghidra: 10.4 -> 11.0 2023-12-23 22:46:21 +01:00
Mario Rodas
7814ddc0b6
Merge pull request #267215 from MikaelFangel/update-ghidra-bin
ghidra-bin: 10.3.1 -> 10.4
2023-11-19 07:49:25 -05:00
Mikael Fangel
e49ae78acf
ghidra-bin: 10.3.1 -> 10.4 2023-11-13 14:47:16 +01:00
roblabla
d1ef3d7089 ghidra: Remove executable bit of non-executable files 2023-11-12 12:30:40 +01:00
roblabla
25ec5c2344 ghidra: 10.3.3 -> 10.4 2023-10-19 00:51:14 +02:00
R. Ryantm
e480fdf4a3 ghidra: 10.3.2 -> 10.3.3 2023-09-07 03:55:53 +00:00
R. Ryantm
37ea9eb02d ghidra: 10.3.1 -> 10.3.2 2023-07-22 03:52:53 +00:00
figsoda
f97ce0a9a8 pkgs/tools/security: remove dead code
with the help of deadnix & nil
2023-07-12 14:35:00 -04:00
Peter Sanford
dcfe5eb6a9 ghidra: add aarch64-linux platform 2023-06-27 09:47:11 -07:00
Thomas Watson
bc954fa316 ghidra{,-bin}: 10.3 -> 10.3.1
The ghidra dependency hash has been verified and is unchanged.
2023-06-19 16:26:20 -05:00
Evan Richter
7ffd3c33b6 ghidra: mark broken only for x86_64-darwin 2023-06-04 15:55:54 -05:00
Alexandre Iooss
30ff366f77 ghidra: mark broken on darwin 2023-05-21 21:05:46 +02:00
Alexandre Iooss
4143506bbb ghidra-bin: 10.2.2 -> 10.3 2023-05-21 19:43:46 +02:00
Alexandre Iooss
206692b33f ghidra: 10.2.3 -> 10.3 2023-05-21 19:43:20 +02:00
Thomas Gerbet
e5a8b8db88 ghidra-bin: 10.2.2 -> 10.2.3
Fixes CVE-2023-22671.

This was missed in 2e4bc8230f.

https://htmlpreview.github.io/?https://github.com/NationalSecurityAgency/ghidra/blob/Ghidra_10.2.3_build/Ghidra/Configurations/Public_Release/src/global/docs/ChangeHistory.html
2023-05-18 18:24:28 +02:00
Lorenz Leutgeb
b32ee446ee gradle: add 8 2023-03-01 14:46:46 +01:00
roblabla
2e4bc8230f ghidra: 10.2.2 -> 10.2.3 2023-02-12 18:49:40 +01:00
Mario Rodas
bad4753edc
Merge pull request #201918 from roblabla/ghidra-update
ghidra: 10.2.1 -> 10.2.2
2022-11-19 10:56:57 -05:00