mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +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" ``` |
||
---|---|---|
.. | ||
apple-cursor | ||
arc-icon-theme | ||
beauty-line-icon-theme | ||
bibata-cursors | ||
capitaine-cursors | ||
capitaine-cursors-themed | ||
catppuccin-papirus-folders | ||
colloid-icon-theme | ||
comixcursors | ||
dracula-icon-theme | ||
elementary-xfce-icon-theme | ||
faba-icon-theme | ||
faba-mono-icons | ||
flat-remix-icon-theme | ||
fluent-icon-theme | ||
gnome-icon-theme | ||
google-cursor | ||
graphite-cursors | ||
gruppled-cursors | ||
gruppled-lite-cursors | ||
gruvbox-dark-icons-gtk | ||
hackneyed | ||
hicolor-icon-theme | ||
humanity-icon-theme | ||
iconpack-jade | ||
iconpack-obsidian | ||
iso-flags | ||
kora-icon-theme | ||
la-capitaine-icon-theme | ||
luna-icons | ||
maia-icon-theme | ||
moka-icon-theme | ||
nordzy-cursor-theme | ||
nordzy-icon-theme | ||
numix-cursor-theme | ||
numix-icon-theme | ||
numix-icon-theme-circle | ||
numix-icon-theme-square | ||
oranchelo-icon-theme | ||
paper-icon-theme | ||
papirus-icon-theme | ||
papirus-maia-icon-theme | ||
papirus-nord | ||
phinger-cursors | ||
pop-icon-theme | ||
qogir-icon-theme | ||
quintom-cursor-theme | ||
reversal-icon-theme | ||
rose-pine | ||
simp1e-cursors | ||
super-tiny-icons | ||
tango-icon-theme | ||
tau-hydrogen | ||
tela-circle-icon-theme | ||
tela-icon-theme | ||
vanilla-dmz | ||
vimix-cursor-theme | ||
vimix-icon-theme | ||
volantes-cursors | ||
whitesur-cursors | ||
whitesur-icon-theme | ||
zafiro-icons |