Commit Graph

48 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Felix Buehler
43909072f7 svp: fix fhsenv version 2024-12-08 12:19:10 +01:00
R. Ryantm
b8d5143f7f svgbob: 0.7.2 -> 0.7.4 2024-12-02 09:44:17 +00:00
Robert Schütz
758dfb6dcf
svkbd: 0.4.1 -> 0.4.2 (#359414) 2024-12-01 17:57:58 -08:00
Nick Cao
0bc5ff7344
svdtools: 0.3.19 -> 0.3.20 (#360459) 2024-12-01 09:59:04 -05:00
R. Ryantm
e7b29dee16 svdtools: 0.3.19 -> 0.3.20 2024-11-30 15:09:16 +00:00
R. Ryantm
a4242293ee svd2rust: 0.33.5 -> 0.35.0 2024-11-30 00:42:43 +00:00
R. Ryantm
828496d1a4 svt-av1-psy: 2.2.1-B -> 2.3.0 2024-11-29 10:59:54 +00:00
Aleksana
0db7473448
svix-server: 1.38.0 -> 1.40.0 (#356034) 2024-11-27 21:26:54 +08:00
Robert Schütz
1ad988e405 svkbd: format with nixfmt-rfc-style 2024-11-26 12:58:13 -08:00
Robert Schütz
9e6936a3ce svkbd: 0.4.1 -> 0.4.2 2024-11-26 12:56:31 -08:00
R. Ryantm
b2cfcea82a svelte-language-server: 0.17.5 -> 0.17.7 2024-11-24 21:02:00 +00:00
aucub
4c8f7091bc svelte-language-server: 0.17.0 -> 0.17.5 2024-11-15 09:23:45 +08:00
techknowlogick
79acebfa44 svix-server: 1.38.0 -> 1.40.0
Diff: https://github.com/svix/svix-webhooks/compare/v1.38.0...v1.40.0

Changelog: https://github.com/svix/svix-webhooks/releases/tag/v1.40.0
2024-11-14 18:51:28 -05:00
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
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Artturin
d9170e1dd5
svdtools: 0.3.18 -> 0.3.19 (#349619) 2024-10-19 05:39:02 +03:00
R. Ryantm
2a15e1fdf3 svdtools: 0.3.18 -> 0.3.19 2024-10-18 19:53:04 +00:00
techknowlogick
5e98b259ca svix-server: 1.30.0 -> 1.38.0 2024-10-15 12:32:14 -04:00
R. Ryantm
6814a47c05 svt-av1-psy: 2.2.1-A -> 2.2.1-B 2024-10-11 06:03:27 +00:00
Gereon Schomber
0dc79b784c svt-av1-psy: 2.2.1 -> 2.2.1-A 2024-10-09 18:40:51 +02:00
Peder Bergebakken Sundt
23ac40eb6f
svp: 4.5.210-2 -> 4.6.263 (#344152) 2024-09-25 10:30:51 +02: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
Lan Tian
432d89099f
svp: 4.5.210-2 -> 4.6.263 2024-09-24 00:42:51 -07:00
R. Ryantm
141e527105 svelte-language-server: 0.16.14 -> 0.17.0 2024-09-08 13:14:28 +00:00
John Titor
a606bee955
svt-av1-psy: init at 2.2.1 2024-08-31 10:08:38 +05:30
techknowlogick
0091b8b759 svix-server: 1.28.0 -> 1.30.0
Diff: https://github.com/svix/svix-webhooks/compare/v1.28.0...v1.30.0

Changelog: https://github.com/svix/svix-webhooks/releases/tag/v1.30.0
2024-08-20 17:16:13 -04:00
techknowlogick
9da01cee59 svix-server: 1.13.0 -> 1.28.0
Diff: https://github.com/svix/svix-webhooks/compare/v1.13.0...v1.28.0

Changelog: https://github.com/svix/svix-webhooks/releases/tag/v1.28.0
2024-08-11 22:41:58 +02:00
Alex Martens
0cc9cd972e svdtools: 0.3.17 -> 0.3.18 2024-08-10 12:25:12 -07:00
Alex Martens
0ac8e9e2b6 svdtools: move to pkgs/by-name 2024-08-10 12:18:33 -07:00
R. Ryantm
df995c820b svelte-language-server: 0.16.13 -> 0.16.14 2024-08-04 23:25:34 +00:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Weijia Wang
b1eed71fc3
Merge pull request #322830 from r-ryantm/auto-update/svelte-language-server
svelte-language-server: 0.16.11 -> 0.16.13
2024-07-02 23:09:49 +02:00
Jan Tojnar
b69ed4249d zenity: Move from gnome scope to top-level
It is widely used outside gnome, not much inside.
2024-07-01 08:26:47 +02:00
R. Ryantm
c415fefb1b svelte-language-server: 0.16.11 -> 0.16.13 2024-06-27 07:33:28 +00:00
Peder Bergebakken Sundt
d473279dfa
Merge pull request #220785 from techknowlogick/svix-cli
svix-cli: init at 0.21.1
2024-06-23 19:44:04 +02:00
R. Ryantm
ee4d9f5953 svelte-language-server: 0.16.10 -> 0.16.11 2024-06-20 21:51:09 +00:00
techknowlogick
d3f25d54bb svix-cli: init at 0.21.1 2024-06-16 18:40:49 -04:00
Weijia Wang
b6d24f9e87
Merge pull request #317550 from r-ryantm/auto-update/svelte-language-server
svelte-language-server: 0.16.9 -> 0.16.10
2024-06-12 00:40:18 +02:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Anderson Torres
238d981213 svp: adapt to the new mpv wrapper 2024-06-08 01:24:01 -03:00
R. Ryantm
3afe079012 svelte-language-server: 0.16.9 -> 0.16.10 2024-06-05 20:11:46 +00:00
purepani
a46ce7c77d
svelte-language-server: convert to buildNpmPackage 2024-05-24 00:23:44 +02:00
Yueh-Shun Li
91b3db1309 treewide: fix sourceRoot for fetchgit-based src
According to Nixpkgs manual[1] and NixOS 23.11 Release Note[2], the
`sourceRoot` attribute passed to `stdenv.mkDerivation` should be
specified as `"${src.name}"` or `"${src.name}/subdir"` when `src` is
produced using `fetchgit`-based fetchers.

`sourceRoot = "source"` or `sourceRoot = "source/subdir"` is based on
the assumption that the `name` attribute of these pre-unpacked fetchers
are always `"source"`, which is not the case. Expecting constant `name`
also makes the source FODs prone to irrelevent hashes during version
bumps.

[1]: https://nixos.org/manual/nixpkgs/unstable/#var-stdenv-sourceRoot
[2]: https://nixos.org/manual/nixos/stable/release-notes#sec-release-23.11
2024-03-09 07:53:25 +08:00
Joseph LaFreniere
afad2235d2
svndumpsanitizer: init at 2.0.7 (#282398)
Co-authored-by: h7x4 <h7x4@nani.wtf>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-02-24 00:39:45 +01:00
Lan Tian
8d355e4b66
svp: init at 4.5.210-2 2024-01-27 13:58:55 -08:00
techknowlogick
75533a36f9 svix-server: init at 1.13.0 2023-10-21 22:40:49 -04:00