Commit Graph

317 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
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
Tomodachi94
830a1aec7c
mucommander: 1.3.0-1 -> 1.5.2-1 (#352528) 2024-11-02 19:55:34 -07:00
R. Ryantm
e096c65389 lf: 32 -> 33 2024-11-01 14:30:19 +00:00
Tomo
1e14e1bce1 mucommander: migrate to by-name 2024-10-31 02:17:15 +00:00
Tomo
7e81b14bd0 mucommander: format with nixfmt-rfc-style 2024-10-31 02:12:32 +00:00
Samuel Tardieu
15e4a3a4b3 nnn: add gnused dependency
Some runtime operations depend on `sed`. Requiring `gnused` explicitly
prevents the use of the insufficient builtin `sed` on Darwin.
2024-10-20 14:47:59 +02:00
Fabián Heredia Montiel
ccec93c1c7 treewide: replace webkitgtk to webkitgtk_4_0
sed -i 's/ webkitgtk\b/ webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/(webkitgtk\b/(webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/\.webkitgtk\b/.webkitgtk_4_0/g' pkgs/**.nix

webkitgtk is currently pointing to that specific ABI version but the
alias is going to start warning
2024-10-11 17:23:43 -06:00
Nadir Ishiguro
4012dccf9d
clifm: 1.20 -> 1.21 2024-10-02 06:57:31 +02:00
Robert Schütz
543781083a treewide: replace passthru.optional-dependencies with optional-dependencies 2024-09-29 20:37:23 -07: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
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
Aleksana
127322dd6d
mc: 4.8.31 -> 4.8.32 (#336960) 2024-09-09 15:14:54 +08:00
OTABI Tomoya
c90f794756
treewide: remove refs/tags/ from github release meta.changelog urls (#338301) 2024-09-01 10:53:48 +09:00
github-actions[bot]
b9ec6f58ab
Merge master into staging-next 2024-08-30 06:04:29 +00:00
Peder Bergebakken Sundt
ebc2389134 treewide: remove refs/tags/ from github release meta.changelog urls
diff of `jq <packages.json 'to_entries[]|"\(.key) \(.value.meta.changelog)"' -r`:

https://gist.github.com/pbsds/49b2e2ae5c9b967a0972bbc3c2597c12
2024-08-29 22:45:00 -04:00
R. Ryantm
c875b3c124 nnn: 4.9 -> 5.0 2024-08-26 17:29:00 +00:00
Sergei Trofimovich
e3fb33ee11 mc: 4.8.31 -> 4.8.32
Changes: https://midnight-commander.org/wiki/NEWS-4.8.32
2024-08-24 07:26:08 +01:00
github-actions[bot]
0f820c1c5a
Merge staging-next into staging 2024-08-18 00:03:22 +00:00
Nick Cao
a2380f3531
Merge pull request #335026 from r-ryantm/auto-update/clifm
clifm: 1.19 -> 1.20
2024-08-17 14:43:37 -04:00
github-actions[bot]
26d52a889c
Merge staging-next into staging 2024-08-16 18:01:47 +00:00
Felix Buehler
afd41917e4 noice: remove 'with lib;' 2024-08-16 16:09:03 +02:00
R. Ryantm
331c335ac8 clifm: 1.19 -> 1.20 2024-08-16 05:03:56 +00:00
Thiago Kenji Okada
e0626c756e
Merge pull request #332385 from greg-hellings/browsr-1.21.0
browsr: 1.19.0 -> 1.21.0, mupdf: 1.23.6 -> 1.24.8, python312Packages.pymupdf: 1.23.6 -> 1.24.8, python312Packages.textual-universal-directory: 1.1.0 -> 1.5.0
2024-08-14 17:15:00 +01:00
Peder Bergebakken Sundt
441708dd85 treewide: simplify boolean logic 2024-08-09 16:01:55 +02:00
Greg Hellings
fe95d69929 browsr: 1.19.0 -> 1.21.0 2024-08-04 22:12:13 -05: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
Sigmanificient
2ee703dccb pkgs/applications: remove unused arguments 2024-07-26 11:36:49 +02:00
chayleaf
e7aa9a3aeb
mucommander: convert to gradle setup hook 2024-07-12 21:36:19 +07:00
Doron Behar
9fbd21c5d5 xplorer: use yarn{Build,Config}Hook for frontend-build 2024-07-10 09:39:04 +03:00
Martin Weinelt
7b8429bbc4
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/jaxtyping/default.nix
2024-07-02 12:08:49 +02:00
Jan Tojnar
5c5c20919b adwaita-icon-theme: Move from gnome scope to top-level
It is widely used outside gnome – although it probably should not be.
2024-07-01 08:26:46 +02:00
github-actions[bot]
d3f2171a63
Merge master into staging-next 2024-06-28 06:01:08 +00:00
Weijia Wang
ad4bca0987
Merge pull request #318959 from r-ryantm/auto-update/xfe
xfe: 1.46.1 -> 1.46.2
2024-06-28 02:13:09 +02:00
github-actions[bot]
2f3bfad6d2
Merge master into staging-next 2024-06-28 00:02:11 +00:00
R. Ryantm
9684204099 walk: 1.8.0 -> 1.10.0 2024-06-27 17:01:53 +00:00
Martin Weinelt
2096642430
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/os-specific/windows/mingw-w64/default.nix
2024-06-23 19:09:00 +02:00
R. Ryantm
3d45b6a6e0 walk: 1.7.0 -> 1.8.0 2024-06-21 15:15:23 +00:00
Martin Weinelt
af4cfc1e0f Merge remote-tracking branch 'origin/staging-next' into staging 2024-06-19 23:28:26 +02:00
R. Ryantm
2a18d15ebb clifm: 1.18 -> 1.19 2024-06-19 00:50:02 +00:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
R. Ryantm
44efd4f673 xfe: 1.46.1 -> 1.46.2 2024-06-11 03:36:04 +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
Sefa Eyeoglu
8c168ae556
felix-fm: 2.12.1 -> 2.13.0
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-05-25 16:09:04 +02:00
Sefa Eyeoglu
3d7e7cdea9
felix-fm: add update script
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-05-25 16:03:23 +02:00
Sigmanificient
0058552891 pkgs/applications: remove uneeded fetchpatch arguments 2024-05-21 03:12:20 +02:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Weijia Wang
18d51c2c5d
Merge pull request #305642 from wegank/lib-version-fix
treewide: fix version in changelog
2024-04-26 10:55:51 +02:00
novenary
75110f8b6d
ranger: 1.9.3 -> 1.9.3-unstable-2023-08-23 (#280143)
* ranger: 1.9.3 -> unstable-2023-08-23

* ranger: follow convention for unstable versions

If a package is a commit from a repository without a version assigned,
then the version attribute should be the latest upstream version
preceding that commit, followed by -unstable- and the date of the
(fetched) commit. The date must be in "YYYY-MM-DD" format.

* ranger: remove version test

* ranger: remove update note

---------

Co-authored-by: aleksana <me@aleksana.moe>
2024-04-23 22:53:04 +08:00
Weijia Wang
58b5b2748f treewide: fix version in changelog 2024-04-21 19:33:05 +02:00