Commit Graph

15 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
afec74011e sendme: 0.15.0 -> 0.16.0 2024-09-17 04:31:00 +00:00
R. Ryantm
1385dbfbeb sendme: 0.14.0 -> 0.15.0 2024-09-03 04:07:00 +00:00
R. Ryantm
b1a83f3a0a sendme: 0.13.0 -> 0.14.0 2024-08-21 04:32:59 +00:00
R. Ryantm
58b747699d sendme: 0.12.0 -> 0.13.0 2024-08-07 04:58:31 +00:00
R. Ryantm
69793c5fdc sendme: 0.11.0 -> 0.12.0 2024-07-23 04:55:13 +00:00
R. Ryantm
c5ee6d4113 sendme: 0.10.0 -> 0.11.0 2024-07-10 03:27:02 +00:00
R. Ryantm
44750feb08 sendme: 0.9.0 -> 0.10.0 2024-06-27 15:14:55 +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
f24122f726 sendme: 0.8.0 -> 0.9.0 2024-06-08 02:49:27 +00:00
R. Ryantm
f20c679b1b sendme: 0.7.0 -> 0.8.0 2024-05-25 05:27:18 +00:00
R. Ryantm
1fe8866947 sendme: 0.6.0 -> 0.7.0 2024-05-14 02:45:53 +00:00
R. Ryantm
966343a0c5 sendme: 0.5.0 -> 0.6.0 2024-04-30 04:44:30 +00:00
cameronfyfe
7057dc386c
sendme: 0.3.0 -> 0.5.0
Release Notes: https://github.com/n0-computer/sendme/releases/tag/v0.5.0
Diff: https://github.com/n0-computer/sendme/compare/v0.3.0...v0.5.0
2024-04-17 11:17:02 -06:00
cameronfyfe
c3061c3692
sendme: init at 0.3.0 2024-01-06 18:06:17 -05:00