nixpkgs/pkgs/by-name/cr
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
..
crabfit-api treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
crabfit-frontend treewide: use src.name in sourceRoot 2024-08-02 14:56:50 +02:00
crate2nix treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
crawley crawley: 1.7.7 -> 1.7.8 2024-08-13 12:09:40 +00:00
crc
create-dmg create-dmg: init at 1.2.2 2024-08-08 14:11:13 -06:00
create-react-app treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
cringify
criterion
cro-mag-rally cro-mag-rally: remove CMAKE_BUILD_TYPE from cmakeFlags 2024-08-23 19:00:24 +02:00
crocoddyl crocoddyl: add optional dependencies 2024-09-18 23:26:37 +02:00
cronie cronie: init at 1.7.2 2024-08-23 12:22:22 -03:00
cronutils treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
crossplane-cli crossplane-cli: 1.16.1 -> 1.17.1 2024-09-21 08:59:49 +00:00
crosswords
crunchy-cli treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cryptor
cryptpad
crystal-dock crystal-dock: 2.2 -> 2.3 2024-09-14 12:56:06 +00:00