Commit Graph

21 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
fd25430853 rustypaste: 0.15.0 -> 0.15.1 2024-07-30 00:33:10 +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
d8d17970cb rustypaste: 0.14.4 -> 0.15.0 2024-04-04 23:11:13 +00:00
R. Ryantm
38d66f1e2e rustypaste: 0.14.2 -> 0.14.4 2023-12-23 06:36:50 +00:00
R. Ryantm
0baf0d2ec6 rustypaste: 0.14.1 -> 0.14.2 2023-12-06 16:22:47 +00:00
h7x4
12315f53ff treewide: add mainProgram 2023-11-24 21:01:03 +01:00
R. Ryantm
743688f91d rustypaste: 0.14.0 -> 0.14.1 2023-11-03 11:30:16 +00:00
figsoda
a562ae92a5 rustypaste: 0.13.0 -> 0.14.0
Diff: https://github.com/orhun/rustypaste/compare/v0.13.0...v0.14.0

Changelog: https://github.com/orhun/rustypaste/blob/v0.14.0/CHANGELOG.md
2023-09-05 13:57:16 -04:00
figsoda
1550c8247a rustypaste: 0.12.1 -> 0.13.0
Diff: https://github.com/orhun/rustypaste/compare/v0.12.1...v0.13.0

Changelog: https://github.com/orhun/rustypaste/blob/v0.13.0/CHANGELOG.md
2023-08-26 16:50:12 -04:00
figsoda
589be71941 rustypaste: 0.12.0 -> 0.12.1
Diff: https://github.com/orhun/rustypaste/compare/v0.12.0...v0.12.1

Changelog: https://github.com/orhun/rustypaste/blob/v0.12.1/CHANGELOG.md
2023-08-11 10:22:40 -04:00
figsoda
792284662b rustypaste: 0.11.1 -> 0.12.0
Diff: https://github.com/orhun/rustypaste/compare/v0.11.1...v0.12.0

Changelog: https://github.com/orhun/rustypaste/blob/v0.12.0/CHANGELOG.md
2023-08-07 12:48:06 -04:00
figsoda
7f83fd6f0e rustypaste: 0.10.1 -> 0.11.1
Diff: https://github.com/orhun/rustypaste/compare/v0.10.1...v0.11.1

Changelog: https://github.com/orhun/rustypaste/blob/v0.11.1/CHANGELOG.md
2023-07-01 12:00:46 -04:00
figsoda
7af8233309 rustypaste: 0.10.0 -> 0.10.1
Diff: https://github.com/orhun/rustypaste/compare/v0.10.0...v0.10.1

Changelog: https://github.com/orhun/rustypaste/blob/v0.10.1/CHANGELOG.md
2023-06-05 18:01:42 -04:00
figsoda
2db499c00d rustypaste: 0.9.1 -> 0.10.0
Diff: https://github.com/orhun/rustypaste/compare/v0.9.1...v0.10.0

Changelog: https://github.com/orhun/rustypaste/blob/v0.10.0/CHANGELOG.md
2023-05-30 19:57:00 -04:00
R. Ryantm
e74103437c rustypaste: 0.9.0 -> 0.9.1 2023-05-26 01:51:00 +00:00
R. Ryantm
6460d65cf9 rustypaste: 0.8.4 -> 0.9.0 2023-05-20 07:41:43 +00:00
Stanisław Pitucha
220cd93919 rustypaste: fix darwin build 2023-03-21 16:15:37 +11:00
R. Ryantm
00c8e19293 rustypaste: 0.8.2 -> 0.8.4 2023-02-04 16:07:38 +00:00
R. Ryantm
adaeeb9573 rustypaste: 0.7.1 -> 0.8.2 2022-10-06 15:51:07 +08:00
Gürkan Gür
2b42b1adbb rustypaste: init at 0.7.1 2022-06-09 16:12:42 +02:00