mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24: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" ``` |
||
---|---|---|
.. | ||
akonadi | ||
ark | ||
grantleetheme | ||
gwenview | ||
kdegraphics-thumbnailers | ||
kdenlive | ||
kdepim-runtime | ||
kdevelop | ||
kpmcore | ||
ksmtp | ||
partitionmanager | ||
plasmatube | ||
akonadi-calendar-tools.nix | ||
akonadi-calendar.nix | ||
akonadi-contacts.nix | ||
akonadi-import-wizard.nix | ||
akonadi-mime.nix | ||
akonadi-notes.nix | ||
akonadi-search.nix | ||
akonadiconsole.nix | ||
akregator.nix | ||
alligator.nix | ||
analitza.nix | ||
angelfish.nix | ||
arianna.nix | ||
audiotube.nix | ||
baloo-widgets.nix | ||
bomber.nix | ||
bovo.nix | ||
calendarsupport.nix | ||
calindori.nix | ||
cantor.nix | ||
colord-kde.nix | ||
default.nix | ||
dolphin-plugins.nix | ||
dolphin.nix | ||
dragon.nix | ||
elisa.nix | ||
eventviews.nix | ||
falkon.nix | ||
fetch.sh | ||
ffmpegthumbs.nix | ||
filelight.nix | ||
ghostwriter.nix | ||
granatier.nix | ||
incidenceeditor.nix | ||
itinerary.nix | ||
juk.nix | ||
k3b.nix | ||
kaccounts-integration.nix | ||
kaccounts-providers.nix | ||
kaddressbook.nix | ||
kalarm.nix | ||
kalgebra.nix | ||
kalk.nix | ||
kalzium.nix | ||
kamoso.nix | ||
kapman.nix | ||
kapptemplate.nix | ||
kasts.nix | ||
kate.nix | ||
katomic.nix | ||
kblackbox.nix | ||
kblocks.nix | ||
kbounce.nix | ||
kbreakout.nix | ||
kcachegrind.nix | ||
kcalc.nix | ||
kcalutils.nix | ||
kcharselect.nix | ||
kclock.nix | ||
kcolorchooser.nix | ||
kde-inotify-survey.nix | ||
kdebugsettings.nix | ||
kdeconnect-kde.nix | ||
kdegraphics-mobipocket.nix | ||
kdenetwork-filesharing.nix | ||
kdepim-addons.nix | ||
kdf.nix | ||
kdialog.nix | ||
kdiamond.nix | ||
keditbookmarks.nix | ||
keysmith.nix | ||
kfind.nix | ||
kgeography.nix | ||
kget.nix | ||
kgpg.nix | ||
khelpcenter.nix | ||
kidentitymanagement.nix | ||
kig.nix | ||
kigo.nix | ||
killbots.nix | ||
kimap.nix | ||
kio-admin.nix | ||
kio-extras.nix | ||
kio-gdrive.nix | ||
kipi-plugins.nix | ||
kirigami-gallery.nix | ||
kitinerary.nix | ||
kldap.nix | ||
kleopatra.nix | ||
klettres.nix | ||
klines.nix | ||
kmag.nix | ||
kmahjongg.nix | ||
kmail-account-wizard.nix | ||
kmail.nix | ||
kmailtransport.nix | ||
kmbox.nix | ||
kmime.nix | ||
kmines.nix | ||
kmix.nix | ||
kmousetool.nix | ||
kmplot.nix | ||
knavalbattle.nix | ||
knetwalk.nix | ||
knights.nix | ||
knotes.nix | ||
koko.nix | ||
kolf.nix | ||
kollision.nix | ||
kolourpaint.nix | ||
kompare.nix | ||
kongress.nix | ||
konqueror.nix | ||
konquest.nix | ||
konsole.nix | ||
kontact.nix | ||
kontactinterface.nix | ||
konversation.nix | ||
kopeninghours.nix | ||
korganizer.nix | ||
kosmindoormap.nix | ||
kpat.nix | ||
kpimtextedit.nix | ||
kpkpass.nix | ||
kpublictransport.nix | ||
kqtquickcharts.nix | ||
krdc.nix | ||
krecorder.nix | ||
kreversi.nix | ||
krfb.nix | ||
kruler.nix | ||
ksanecore.nix | ||
kshisen.nix | ||
kspaceduel.nix | ||
ksquares.nix | ||
ksudoku.nix | ||
ksystemlog.nix | ||
kteatime.nix | ||
ktimer.nix | ||
ktnef.nix | ||
ktorrent.nix | ||
ktouch.nix | ||
ktrip.nix | ||
kturtle.nix | ||
kwalletmanager.nix | ||
kwave.nix | ||
kweather.nix | ||
libgravatar.nix | ||
libkcddb.nix | ||
libkdcraw.nix | ||
libkdegames.nix | ||
libkdepim.nix | ||
libkexiv2.nix | ||
libkgapi.nix | ||
libkipi.nix | ||
libkleo.nix | ||
libkmahjongg.nix | ||
libkomparediff2.nix | ||
libksane.nix | ||
libksieve.nix | ||
libktorrent.nix | ||
mailcommon.nix | ||
mailimporter.nix | ||
marble.nix | ||
mbox-importer.nix | ||
merkuro.nix | ||
messagelib.nix | ||
minuet.nix | ||
neochat.nix | ||
okular.nix | ||
palapeli.nix | ||
picmi.nix | ||
pim-data-exporter.nix | ||
pim-sieve-editor.nix | ||
pimcommon.nix | ||
print-manager.nix | ||
qmlkonsole.nix | ||
rocs.nix | ||
skanlite.nix | ||
skanpage.nix | ||
spectacle.nix | ||
srcs.nix | ||
telly-skout.nix | ||
tokodon.nix | ||
umbrello.nix | ||
yakuake.nix | ||
zanshin.nix |