nixpkgs/pkgs/tools/security/ghidra
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
..
extensions ghidra-extensions.lightkeeper: 1.1.0 -> 1.1.1 2024-09-13 04:57:53 +00:00
0001-Use-protobuf-gradle-plugin.patch ghidra: 11.1.1 -> 11.1.2 2024-07-14 17:22:53 -04:00
0002-Load-nix-extensions.patch ghidra: support extensions 2024-05-20 12:51:38 +10:00
0003-Remove-build-datestamp.patch ghidra: support extensions 2024-05-20 12:51:38 +10:00
build-extension.nix ghidra: remove with statements 2024-08-18 06:32:23 -07:00
build.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
default.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
deps.json ghidra: 11.1.1 -> 11.1.2 2024-07-14 17:22:53 -04:00
extensions.nix Merge pull request #328947 from jchw-forks/add-ghidra-delinker-extension 2024-08-22 14:45:41 +02:00
with-extensions.nix ghidra: Add ghidra-analyzeHeadless to PATH 2024-08-11 23:21:37 +02:00