mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-13 23:53:26 +00:00
![]() 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" ``` |
||
---|---|---|
.. | ||
mo | ||
modelscan | ||
modern-cpp-kafka | ||
modprobed-db | ||
modrinth-app | ||
modrinth-app-unwrapped | ||
mods | ||
moe | ||
mokuro | ||
mold | ||
mollysocket | ||
mommy | ||
monado | ||
monaspace | ||
moneydance | ||
mongodb-ce | ||
mongodb-compass | ||
mongosh | ||
monitorets | ||
monophony | ||
moonlight-qt | ||
moproxy | ||
morewaita-icon-theme | ||
morphosis | ||
mos | ||
mosdepth | ||
mosdns | ||
motoc | ||
mountpoint-s3 | ||
mousai | ||
mousam | ||
mouse_m908 | ||
mouse-actions | ||
mouse-actions-gui | ||
mousecape | ||
mov-cli | ||
move-mount-beneath | ||
movim | ||
mozc | ||
mozcdic-ut-alt-cannadic | ||
mozcdic-ut-edict2 | ||
mozcdic-ut-jawiki | ||
mozcdic-ut-neologd | ||
mozcdic-ut-personal-names | ||
mozcdic-ut-place-names | ||
mozcdic-ut-skk-jisyo | ||
mozcdic-ut-sudachidict |