mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53: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" ``` |
||
---|---|---|
.. | ||
Bio-BigFile | ||
Bio-Ext-Align | ||
DBD-SQLite | ||
expression-generator | ||
generic | ||
ham | ||
ImageExifTool | ||
maatkit | ||
MNI | ||
Mozilla-LDAP | ||
Percona-Toolkit | ||
Po4a | ||
strip-nondeterminism | ||
Tirex | ||
WWW-YoutubeViewer | ||
Alien-FFI-dont-download.patch | ||
alien-sdl.patch | ||
ArchiveLibarchive-set-findlib-path.patch | ||
boost-geometry-utils-fix-oom.patch | ||
catalyst-plugin-static-simple-etag.patch | ||
CatalystAuthenticationStoreHtpasswd-test-replace-DES-hash-with-bcrypt.patch | ||
CatalystXScriptServerStarman-fork-arg.patch | ||
crypt-openpgp-remove-impure-keygen-tests.patch | ||
CSSDOM-replace-apostrophe.patch | ||
Data-Clone-fix-apostrophe-package-separator.patch | ||
Data-UUID-CVE-2013-4184.patch | ||
Device-OUI-1.04-hash.patch | ||
Exception-Base-remove-smartmatch-when-5.38.0.patch | ||
ExtUtils-Constant-fix-indirect-method-call-in-test.patch | ||
Google-ProtocolBuffers-multiline-comments.patch | ||
Gtk2-fix-incompatible-pointer-conversion.patch | ||
Hailo-fix-test-gld.patch | ||
IO-Tty-fix-makefile.patch | ||
lwp-protocol-https-cert-file.patch | ||
module-pluggable.patch | ||
MouseX-Getopt-gld-tests.patch | ||
net-amazon-mechanicalturk.patch | ||
Paranoid-blessed-path.patch | ||
perl-opengl-gl-extensions.txt | ||
perl-opengl.patch | ||
Plack-test-replace-DES-hash-with-bcrypt.patch | ||
sdl-modern-perl.patch | ||
Socket6-sv_undef.patch | ||
TextBibTeX-use-lib.patch | ||
tk-configure-implicit-int-fix.patch | ||
xml-grove-utf8.patch | ||
XML-LibXML-fix-tests-libxml-2.13.0.patch | ||
xml-parser-0001-HACK-Assumes-Expat-paths-are-good.patch |