Commit Graph

7 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
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"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
7ec8858169 telescope: 0.10 -> 0.10.1 2024-07-15 05:05:14 +00:00
h7x4
3f0d03bf47
Merge pull request #323610 from matthiasbeyer/fix-telescope-website
telescope: Fix homepage URL
2024-07-01 23:31:21 +02:00
Matthias Beyer
77d29ba726
telescope: Fix homepage URL
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2024-06-30 17:14:49 +02:00
R. Ryantm
2f9ce7f04d telescope: 0.9.1 -> 0.10 2024-06-28 02:57:26 +00:00
R. Ryantm
8275088b46 telescope: 0.9 -> 0.9.1 2024-05-26 15:47:07 +00:00
Nikolay Korotkiy
62d5a05922
telescope: migrate to by-name 2024-02-23 23:15:38 +04:00