Commit Graph

13 Commits

Author SHA1 Message Date
R. RyanTM
17499a9cc9
upsun: 5.0.21 -> 5.0.22 (#346825) 2024-10-06 12:09:39 +02:00
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
Laurent Arnoud
cba7b6b6ca
upsun: 5.0.16 -> 5.0.21 2024-09-18 17:07:52 +02:00
Laurent Arnoud
363ab2fe36
upsun: add updateScript 2024-08-19 09:58:34 +02:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Pol Dellaiera
51f5b20cdb
upsun: sort meta attributes 2024-05-15 10:59:37 +02:00
Pol Dellaiera
6ef43c9256
upsun: add test 2024-05-15 10:58:14 +02:00
Pol Dellaiera
ffc0157df6
upsun: 5.0.12 -> 5.0.13 2024-05-15 10:58:14 +02:00
Pol Dellaiera
1a52ab969c
upsun: reformat using nixfmt-rfc-style 2024-05-15 10:58:14 +02:00
Pol Dellaiera
4bd2ce3420
upsun: use finalAttrs pattern 2024-05-15 10:48:26 +02:00
Pol Dellaiera
145661005b
upsun: add missing phases 2024-05-15 10:46:54 +02:00
Laurent Arnoud
b4c2ea968e upsun: add darwin build 2024-05-15 10:02:01 +10:00
Laurent Arnoud
6805bd7bb0
upsun: init at 5.0.12 2024-04-05 09:33:26 +02:00