Commit Graph

11 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
5811b36ef4 xiu: 0.12.7 -> 0.13.0 2024-08-11 03:15:22 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
325de9f06b xiu: 0.12.6 -> 0.12.7 2024-05-18 03:01:00 +00:00
Christina Sørensen
9255c4d2d0
treewide: adopt orphaned packages
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-04-28 20:43:06 +02:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
R. Ryantm
163402aa53 xiu: 0.12.5 -> 0.12.6 2024-04-04 01:59:13 +00:00
R. Ryantm
e2cb59b99e xiu: 0.12.4 -> 0.12.5 2024-03-16 02:53:37 +00:00
Mario Rodas
4efe267df2 xiu: 0.12.0 -> 0.12.4
Diff: https://github.com/harlanc/xiu/compare/v0.12.0...v0.12.4

Changelog: https://github.com/harlanc/xiu/releases/tag/v0.12.4
2024-03-02 07:20:00 +00:00
R. Ryantm
93709c8d81 xiu: 0.10.0 -> 0.12.0 2024-03-02 07:19:14 +00:00
Mario Rodas
a1171e4da0 xiu: init at 0.10.0 2024-02-13 04:20:00 +00:00