Commit Graph

14 Commits

Author SHA1 Message Date
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Henner Zeller
6714739235 ntpstat: init at 0.6
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-10-16 21:32:45 -07:00
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