mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
e0464e4788
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" ``` |
||
---|---|---|
.. | ||
maa-assistant-arknights | ||
maa-cli | ||
mac-robber | ||
maccy | ||
mackup | ||
mactop | ||
maelstrom-clj | ||
maestro | ||
magic-vlsi | ||
magicard-cups-driver | ||
magicrescue | ||
magnetic-catppuccin-gtk | ||
magpie | ||
maid | ||
mailsy | ||
majima | ||
major-mono-display | ||
makejinja | ||
makima | ||
mako | ||
maloader | ||
maltego | ||
malwoverview | ||
manga-tui | ||
mangal | ||
mangareader | ||
manifold | ||
manix | ||
manticoresearch | ||
mapcache | ||
mapproxy | ||
mapscii | ||
mapserver | ||
marcel | ||
marge-bot | ||
mariadb-connector-java | ||
mariadb-galera | ||
markdown-link-check | ||
markdown-oxide | ||
marked-man | ||
markuplinkchecker | ||
marst | ||
marwaita | ||
marwaita-icons | ||
marwaita-mint | ||
marwaita-orange | ||
marwaita-red | ||
marwaita-teal | ||
marwaita-x | ||
masklint | ||
massdns | ||
masterpdfeditor | ||
matchbox-server | ||
material-black-colors | ||
material-cursors | ||
materialgram | ||
mathemagix | ||
mathjax-node-cli | ||
matlab-language-server | ||
matrix-authentication-service | ||
matrix-brandy | ||
matrix-commander-rs | ||
matrix-gtk-theme | ||
matrix-hook | ||
matrix-media-repo | ||
matrix-zulip-bridge | ||
matterbridge | ||
matugen | ||
maturin | ||
mautrix-meta | ||
maven | ||
mawk | ||
maxfetch |