Commit Graph

20 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
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
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
figsoda
a16711996e zine: 0.15.0 -> 0.16.0
Diff: https://diff.rs/zine/0.15.0/0.16.0

Changelog: https://github.com/zineland/zine/releases/tag/v0.16.0
2023-07-04 12:46:45 -04:00
figsoda
0b534a2157 zine: 0.14.0 -> 0.15.0
Changelog: https://github.com/zineland/zine/releases/tag/v0.15.0
2023-05-07 11:23:07 -04:00
figsoda
13c90a1bfe zine: 0.13.0 -> 0.14.0
Changelog: https://github.com/zineland/zine/releases/tag/v0.14.0
2023-04-23 09:37:33 -04:00
figsoda
d63da959fd zine: 0.12.1 -> 0.13.0
Changelog: https://github.com/zineland/zine/releases/tag/v0.13.0
2023-03-12 12:58:29 -04:00
figsoda
2821b95a7a zine: 0.12.0 -> 0.12.1
Changelog: https://github.com/zineland/zine/releases/tag/v0.12.1
2023-03-10 10:58:38 -05:00
figsoda
518ee5c99b zine: 0.11.1 -> 0.12.0
Changelog: https://github.com/zineland/zine/releases/tag/v0.12.0
2023-03-07 12:02:38 -05:00
figsoda
d0f30dbfc8 zine: 0.11.0 -> 0.11.1
Changelog: https://github.com/zineland/zine/releases/tag/v0.11.1
2023-02-27 11:02:10 -05:00
figsoda
075bf79744 zine: 0.10.1 -> 0.11.0
Changelog: https://github.com/zineland/zine/releases/tag/v0.11.0
2023-02-20 10:41:25 -05:00
R. Ryantm
0b6ee48830 zine: 0.10.0 -> 0.10.1 2023-02-15 05:46:08 +00:00
figsoda
e8fae4764c zine: 0.9.0 -> 0.10.0
Changelog: https://github.com/zineland/zine/releases/tag/v0.10.0
2023-01-29 10:23:39 -05:00
figsoda
768c73fa8c zine: 0.8.1 -> 0.9.0
Changelog: https://github.com/zineland/zine/releases/tag/v0.9.0
2022-12-15 11:51:53 -05:00
figsoda
29acb77ff2 zine: 0.8.0 -> 0.8.1
Changelog: https://github.com/zineland/zine/releases/tag/v0.8.1
2022-12-03 15:35:20 -05:00
figsoda
e608cf5600 zine: 0.7.0 -> 0.8.0
Changelog: https://github.com/zineland/zine/releases/tag/v0.8.0
2022-11-28 16:32:43 -05:00
R. Ryantm
9c1c9af5ed zine: 0.6.0 -> 0.7.0 2022-10-20 03:46:47 +00:00
figsoda
50b2e1beb0 zine: use fetchCrate to remove patch, add figsoda as a maintainer 2022-09-17 21:38:06 -04:00
Theodore Ni
b3b1dd0e38
zine: add missing Darwin frameworks (#187659)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-08-21 03:17:27 +02:00
Mostly Void
ed0ce6d539
zine: init at 0.6.0 2022-08-05 16:23:43 +05:30