mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 14:03:29 +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" ``` |
||
---|---|---|
.. | ||
adriconf | ||
agi | ||
amber | ||
apng2gif | ||
apngopt | ||
argyllcms | ||
astc-encoder | ||
asymptote | ||
barcode | ||
blockhash | ||
blur-effect | ||
briss | ||
cfdg | ||
cgif | ||
convchain | ||
csv2svg | ||
cuneiform | ||
dcraw | ||
deqp-runner | ||
diagrams-builder | ||
directx-shader-compiler | ||
ditaa | ||
dmtx-utils | ||
dnglab | ||
dpic | ||
dynamic-wallpaper | ||
editres | ||
enblend-enfuse | ||
eplot | ||
epstool | ||
escrotum | ||
esshader | ||
exif | ||
exifprobe | ||
exiftags | ||
facedetect | ||
fbv | ||
feedgnuplot | ||
fgallery | ||
fim | ||
gfxreconstruct | ||
ggobi | ||
gif2apng | ||
gifski | ||
glee | ||
glmark2 | ||
gnuplot | ||
goverlay | ||
graph-cli | ||
graph-easy | ||
graphviz | ||
grim | ||
gromit-mpx | ||
guff | ||
hobbits | ||
ibniz | ||
icoutils | ||
ifm | ||
imgur-screenshot | ||
imgurbash2 | ||
jhead | ||
jpegexiforient | ||
leela | ||
lepton | ||
libyafaray | ||
logstalgia | ||
lsix | ||
maim | ||
mangohud | ||
maskromtool | ||
mesa-demos | ||
metapixel | ||
mscgen | ||
netpbm | ||
nifskope | ||
nip2 | ||
optar | ||
optipng | ||
oxipng | ||
pdf2svg | ||
pdftag | ||
pdftoipe | ||
perceptualdiff | ||
pfstools | ||
pgf | ||
piglit | ||
pikchr | ||
pixel2svg | ||
ploticus | ||
plotutils | ||
pngcheck | ||
pngcrush | ||
pngloss | ||
pngnq | ||
pngoptimizer | ||
pngout | ||
pngquant | ||
pngtoico | ||
pngtools | ||
povray | ||
pstoedit | ||
puppeteer-cli | ||
quirc | ||
realesrgan-ncnn-vulkan | ||
resvg | ||
rocket | ||
s2png | ||
scanbd | ||
scrot | ||
shot-scraper | ||
shotgun | ||
sic-image-cli | ||
smartcrop | ||
snapdragon-profiler | ||
spirv-cross | ||
stegsolve | ||
svg2pdf | ||
svgbob | ||
svgcleaner | ||
syntex | ||
termimage | ||
textplots | ||
texture-synthesis | ||
timg | ||
twilight | ||
unpaper | ||
vips | ||
viu | ||
vkbasalt | ||
vkbasalt-cli | ||
vkdisplayinfo | ||
vkmark | ||
vulkan-caps-viewer | ||
vulkan-cts | ||
vulkan-extension-layer | ||
vulkan-helper | ||
vulkan-tools | ||
vulkan-tools-lunarg | ||
waifu2x-converter-cpp | ||
wavefunctioncollapse | ||
wdisplays | ||
welkin | ||
wgpu-utils | ||
wkhtmltopdf | ||
xcftools | ||
xcolor | ||
xcur2png | ||
yaxg | ||
zbar | ||
zxing |