Commit Graph

949 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
Philip Taron
f9175022d6
update-python-libraries: migrate git revs to tag (#362222) 2024-12-06 08:18:39 -08:00
FliegendeWurst
2361852cc5 maintainers/scripts: add check-maintainer-usernames
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-12-06 14:18:06 +01:00
Martin Weinelt
b8704b00bc
update-python-libraries: fix helper script after by-name migration 2024-12-05 23:26:00 +01:00
Matthieu Coudron
8ac1f15e2c
teal-language-server: dev-1 -> 0.0.5.1 (#356677) 2024-11-23 14:48:24 +01:00
barsoosayque
e6c6a56f64 teal-language-server: dev-1 -> 0.0.5.1
teal-language-server is now out of dev channel
in luarocks
2024-11-23 13:30:20 +07:00
barsoosayque
0967e2f2c5 tl: 0.15.3-1 -> 0.24.1-1
https://github.com/teal-language/tl/blob/v0.24.1/CHANGELOG.md#0241

This update introduced a lock file in tl, which
needs to be removed in order to build the package
2024-11-23 13:28:07 +07:00
barsoosayque
f7b46bfd5f lusc_luv: init at 4.0.1-1 2024-11-23 13:25:04 +07:00
Matthieu Coudron
d6c5afdca4
pluginupdate.py: add support for adding/updating individual plugins (#336137) 2024-11-21 20:26:17 +01:00
David McFarland
3d38ecca0c maintainers/scripts/update: add dependencies to nativeBuildInputs
This allows update.nix to work with a pure shell.
2024-11-17 18:35:20 -04:00
David McFarland
9fb173da94 maintainers/scripts/update-dotnet-lockfiles.nix: use update.nix 2024-11-17 18:35:20 -04:00
David McFarland
e3736259f7 maintainers/scripts/update: disable aliases 2024-11-17 18:35:20 -04:00
PerchunPak
3c2cc3049d
pluginupdate.py: use newer syntax for types 2024-11-10 16:53:32 +01:00
PerchunPak
ecee72e247
pluginupdate.py: add support for adding/updating individual plugins 2024-11-10 01:42:51 +01:00
PerchunPak
a6fe798a01
pluginupdate.py: fix bugs and add improvements
I fixed many hidden bugs and made some small improvements. The main
reason this was separated from #336137 is to fix the sorting issue.

Before this commit, sorting for Vim plugins was broken and worked by
what was fetched first. This is because the sorting was done by empty
strings (the default value in CSV is not None but an empty string). This
PR fixes it and also moves sorting from the user to the library (from
`vim/plugins/update.py` to `pluginupdate.py`) to prevent such weird
issues and duplication of code.
2024-11-09 00:20:38 +01:00
PerchunPak
8b503ec432
pluginupdate.py: reformat with ruff
Ruff - an extremely fast Python linter and code formatter, written in Rust.
2024-11-09 00:20:38 +01:00
Artturin
11761eda6d
rebuild-amount: Fix 'SC2155 (warning): Declare and assign separately to avoid masking return values.' (#321146) 2024-10-25 02:34:36 +03:00
Austin Horstman
1d19bc9a53
luarocks-packages.csv: fix sorting 2024-10-23 23:17:02 -05:00
Austin Horstman
6e7cb5485e
luaPackages: pin tl to 0.15.3-1
luarocks lockfile not supported, at the moment. pinning package until we
can properly manage this.
2024-10-23 23:17:01 -05:00
David McFarland
8b193a46be
dotnet: october 2024 releases (#348077) 2024-10-15 10:51:53 -03:00
Michael Hoang
e81b7d4f57 maintainers/scripts/update.nix: avoid deadlock
Use `Process.communicate()` instead of `Process.wait()` to ensure the
`stdin` and `stdout` OS pipe buffers don't get full and cause a deadlock
waiting for the buffers to get emptied.
2024-10-14 18:47:31 -03:00
K900
0c879e6e01 kdePackages: Plasma 6.1.5 -> 6.2.0 2024-10-08 15:31:24 +03:00
K900
20afb4559c maintainers/scripts/kde: fix formatting to match nixfmt 2024-10-08 15:31:24 +03:00
K900
38fb2331ad maintainers/scripts/fetch-kde-qt.sh: hardcode path instead of using $0 2024-10-08 14:21:49 +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
Gaetan Lepage
b4cde4d7f1 luaPackages.neorg: init at 9.1.1-1
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2024-09-24 10:06:58 +02:00
Matthieu Coudron
57bbd52af5
packages luarocks updater as pyproject package (#343584)
* luarocks-packages-updater: convert into pyproject package

* pluginupdate: move to its own folder

so we can copy just the folder when using this as a module

* luarocks-packages-updater: adress review
2024-09-22 21:15:41 +02:00
K900
a78ad9a8ee maintainers/scripts/kde: fix for nixfmt style 2024-09-20 08:56:56 +03:00
David McFarland
988b57fa74 update-dotnet-lockfiles: add startWith flag
This allows you to resume after a failure by passing the name of the
first package you want to be fetched.
2024-09-17 01:14:28 -03:00
David McFarland
3a7d2b8bbf update-dotnet-lockfiles: skip packages that don't evaluate
This allows the script to run on platforms that can't fetch all of the
packages, or without allowing unfree.
2024-09-17 01:14:27 -03:00
nicoo
4ebe4a2089 maintainers/scripts/sha-to-sri: ignore gemset.nix files 2024-09-15 11:24:30 +02:00
Gaétan Lepage
c6e077b0b2
vimPlugins.lze: init at 0.1.1 (#339387) 2024-09-14 20:32:40 +02:00
Alyssa Ross
df61c2acb5 treewide: remove executable bit from .nix files
???
2024-09-14 13:08:57 +02:00
BirdeeHub
6b1aa6159f vimPlugins.lze: init at 0.1.1
I made this, and I almost completely deleted it because I was fully
on board with lz-n again. However, I have been using it and lz-n
simultaneosly and trying them out.

I wish to publish lze after all. I like it a lot.

It works completely differently from lz-n and has a different handler
api, but has a similar plugin spec.

Update pkgs/development/lua-modules/overrides.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2024-09-13 16:47:37 -07:00
nicoo
9259479c42 maintainers/scripts/sha-to-sri: minor efficiency improvement of the Nix32 decoder 2024-09-13 14:11:34 +00:00
nicoo
011daf9161 maintainers/scripts: document sha-to-sri 2024-09-13 10:15:19 +00:00
nicoo
e079a279f4 maintainers/scripts/sha-to-sri: drop unused imports 2024-09-13 10:06:36 +00:00
nicoo
bf6b5f7f85 maintainers/scripts/sha-to-sri: accept directories as input
Doesn't skip files passed as CLI arguments based on their name anymore,
since bulk changes can now be done without resorting to `xargs` or equivalent.
2024-09-13 10:06:36 +00:00
nicoo
915799a2b9 maintainers/scripts/sha-to-sri: fix file-descriptor leak 2024-09-13 10:06:35 +00:00
nicoo
c425822e17 maintainers/scripts/sha-to-sri: format 2024-09-13 10:03:00 +00:00
K900
b9b940b8b9 maintainers/scripts/kde/generate-sources: update URL format 2024-09-12 16:35:02 +03:00
Philip Taron
fd27888c61
maintainers: add targeted fix for missing pkgs/by-name/.../package.nix files to maintainers/scripts/build.nix 2024-09-10 08:41:15 -07:00
David McFarland
13bd100300 update-dotnet-lockfiles.nix: disable aliases 2024-09-05 22:47:38 -03:00
Philip Taron
89cbfde96d
nixpkgs-vet: update CI, docs, and release to 0.1.4
Everything gets moved into the `ci/` top-level directory.

We keep behind `maintainers/scripts/check-by-name.sh` and `pkgs/test/check-by-name/pinned-version.txt` as they are going to cause CI errors and confusion until we get all the way through the various channels.
They'll be removed in about a week or so.
2024-09-03 13:53:25 -07:00
Gutyina Gergő
341610082b
vimPlugins.lsp-progress-nvim: init at 1.0.13-1 2024-09-01 15:24:33 +02:00
Gutyina Gergő
be3e301b9a
luaPackages.lsp-progress-nvim: init at 1.0.13-1 2024-09-01 15:23:16 +02:00
Sandro Jäckel
55760e4c10 hydra: rename from hydra_unstable
There is no stable hydra package
2024-08-29 13:56:32 +10:00
Marc Jakobi
3fa807ef33 vimPlugins.lzn-auto-require: init at 0.1.0 2024-08-23 12:16:32 +02:00
K900
65f5cbb5f2 kdePackages: Gear 24.05.2 -> 24.08.0
- kweathercore to gear
- kipi removed
- knotes removed
- kgraphviewer and massif-visualizer added
- kdevelop and friends to qt6
2024-08-22 17:14:41 +03:00
Thiago Kenji Okada
5b60c5736f
Merge pull request #327878 from teto/warn-when-missing-token
pluginupdate: warn when github token isn't set
2024-08-11 11:40:07 +01:00