Commit Graph

27 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
58dbfcff20 snac2: 2.58 -> 2.59 2024-09-17 08:47:45 +00:00
R. Ryantm
c7b03932f3 snac2: 2.57 -> 2.58 2024-09-06 06:28:37 +00:00
R. Ryantm
44bc2ec315 snac2: 2.56 -> 2.57 2024-08-10 22:13:45 +00:00
R. Ryantm
8e3cf7d9b6 snac2: 2.55 -> 2.56 2024-07-20 00:11:24 +00:00
R. Ryantm
7f7a9d6fa0 snac2: 2.53 -> 2.55 2024-06-10 01:32:42 +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
c2adba41bf snac2: 2.52 -> 2.53 2024-05-21 16:40:03 +00:00
R. Ryantm
8d5921913f snac2: 2.51 -> 2.52 2024-05-11 05:12:42 +00:00
R. Ryantm
33eb930883 snac2: 2.50 -> 2.51 2024-04-04 17:10:23 +00:00
R. Ryantm
af35bf9da7 snac2: 2.49 -> 2.50 2024-03-27 10:03:38 +00:00
R. Ryantm
26591596fc snac2: 2.47 -> 2.49 2024-03-05 20:52:53 +00:00
R. Ryantm
201b4e6877 snac2: 2.46 -> 2.47 2024-02-13 11:42:06 +00:00
R. Ryantm
42d5fe1432 snac2: 2.45 -> 2.46 2024-01-31 01:31:37 +00:00
R. Ryantm
f0116875ed snac2: 2.44 -> 2.45 2024-01-21 11:45:47 +00:00
R. Ryantm
b1eff5aeab snac2: 2.43 -> 2.44 2024-01-12 12:40:36 +00:00
R. Ryantm
807e09618d snac2: 2.42 -> 2.43 2023-12-07 16:00:05 +00:00
R. Ryantm
94c796a420 snac2: 2.41 -> 2.42 2023-10-19 15:11:39 +00:00
R. Ryantm
fa922e12d7 snac2: 2.35 -> 2.41 2023-09-26 16:41:31 +00:00
R. Ryantm
b7abbd1a24 snac2: 2.31 -> 2.35 2023-06-26 07:06:35 +00:00
misuzu
f56ad9d7de snac2: build on darwin 2023-05-23 20:10:43 +03:00
R. Ryantm
6d27a48680 snac2: 2.30 -> 2.31 2023-05-14 07:30:32 +00:00
R. Ryantm
2b98efabfa snac2: 2.28 -> 2.30 2023-05-11 19:11:47 +00:00
R. Ryantm
973ced0339 snac2: 2.25 -> 2.28 2023-04-26 18:49:49 +00:00
misuzu
23ae5a0622 snac2: 2.15 -> 2.25
https://codeberg.org/grunfink/snac2/src/tag/2.25/RELEASE_NOTES.md
https://codeberg.org/grunfink/snac2/compare/2.15...2.25
2023-03-28 22:58:44 +03:00
R. Ryantm
b97988db67 snac2: 2.12 -> 2.15 2023-01-18 21:56:13 +08:00
misuzu
ec14e0fbef snac2: init at 2.12 2022-12-02 16:59:42 +02:00