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
Gaetan Lepage
803698525e systemctl-tui: 0.3.7 -> 0.3.8
Diff: https://diff.rs/systemctl-tui/0.3.7/0.3.8

Changelog: https://github.com/rgwood/systemctl-tui/releases/tag/v0.3.8
2024-09-14 16:36:23 +02:00
Gaetan Lepage
fdac5de96c systemctl-tui: 0.3.6 -> 0.3.7
Diff: https://diff.rs/systemctl-tui/0.3.6/0.3.7

Changelog: https://github.com/rgwood/systemctl-tui/releases/tag/v0.3.7
2024-08-22 16:37:22 +02:00
Gaetan Lepage
5b9f7a8359 systemctl-tui: format + testVersion + updateScript 2024-08-22 16:36:48 +02: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
68ac0fb9cc systemctl-tui: 0.3.5 -> 0.3.6 2024-05-30 06:43:05 +00:00
R. Ryantm
39bd3253db systemctl-tui: 0.3.4 -> 0.3.5 2024-05-10 18:39:28 +00:00
R. Ryantm
c3214a332a systemctl-tui: 0.3.3 -> 0.3.4 2024-05-03 00:44:42 +00:00
Charlie Moog
c64f61e478 systemctl-tui: 0.2.4 -> 0.3.3 2024-04-20 20:36:00 +02:00
siph
8720af53ea systemctl-tui: 0.2.2 -> 0.2.4 2024-01-13 19:16:13 -07:00
siph
ee741899f3 systemctl-tui: init at 0.2.2 2023-10-23 12:13:54 -06:00