Commit Graph

12 Commits

Author SHA1 Message Date
Artturin
63fa53d97c treewide: reformat files which need reformatting after
`treewide: replace stdenv.is with stdenv.hostPlatform.is`
2024-09-25 00:04:39 +03:00
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
seth
566819b0eb
ntpd-rs: 1.2.3 -> 1.3.0
Changelog: https://github.com/pendulum-project/ntpd-rs/releases/tag/v1.3.0
Diff: https://github.com/pendulum-project/ntpd-rs/compare/v1.2.3...v1.3.0
2024-09-19 16:00:13 -04:00
Brian Lee
ac2b5954c3
ntfy-alertmanager: init at 0.3.0 2024-08-23 10:42:19 -07:00
R. Ryantm
c4e2ca2e7d ntpd-rs: 1.2.2 -> 1.2.3 2024-07-22 10:18:58 +00:00
Franz Pletz
f2a6b12af7
ntpd-rs: disable testsuite, too flaky 2024-07-20 04:07:56 +02:00
Franz Pletz
9f8234f17e
ntpd-rs: 1.2.0 -> 1.2.2 2024-07-20 03:05:18 +02:00
seth
94743533ea
ntpd-rs: add updateScript 2024-07-15 13:51:16 -04:00
seth
263f99457e
ntpd-rs: migrate to by-name 2024-07-15 13:49:41 -04:00
Crem
74dea44f2e ntlm-challenger: init at 0-unstable-2022-11-10 2024-07-10 16:57:19 +10: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
j1nxie
762fa71dce
ntfs2btrfs: init at 20240115 2024-03-24 17:01:38 +07:00