nixpkgs/pkgs/os-specific/darwin/apple-source-releases
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
..
adv_cmds
architecture
AvailabilityVersions darwin.AvailabilityVersions: init at 140.1 2024-07-13 10:59:42 -04:00
basic_cmds
bootstrap_cmds
bsdmake
CarbonHeaders
CommonCrypto
configd darwin.configd: remove dependency on CF for private headers 2024-07-13 17:54:33 -04:00
copyfile
Csu
developer_cmds
diskdev_cmds treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dtrace
dyld
eap8021x
file_cmds
hfs
ICU darwin.ICU: use llvm-strip compatible flags 2024-07-22 20:57:24 -04:00
IOKit
launchd
Libc
libclosure
libdispatch darwin.libdispatch: 442.1.4 -> 703.50.37 2024-07-13 17:54:34 -04:00
Libinfo
Libm
libmalloc
Libnotify
libplatform
libpthread
libresolv
Librpcsvc
Libsystem tree-wide: use top-level cctools 2024-07-17 22:36:19 -04:00
libunwind
libutil
mDNSResponder
network_cmds treewide: remove unused occurence of stdenv (and other) arguments 2024-07-14 04:32:56 +02:00
objc4 libauto: remove 2024-05-30 02:03:57 +02:00
PowerManagement
ppp
removefile
Security
shell_cmds
system_cmds
text_cmds
top
xnu treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
default.nix darwin.libdispatch: 442.1.4 -> 703.50.37 2024-07-13 17:54:34 -04:00
developer-tools-11.3.1.nix
generate-sdk-packages.sh
macos-11.0.1.nix