Commit Graph

542 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
19dc44bb75
gtklock: 3.0.0 -> 4.0.0 and plugins (#350671) 2024-11-14 10:21:08 +08:00
Peder Bergebakken Sundt
5704b2b60b
swaytools: 0.1.1 -> 0.1.2 (#350643) 2024-11-14 03:01:25 +01:00
aleksana
7b9bf8ab98 gtklock-userinfo-module: move to pkgs/by-name 2024-11-13 20:36:34 +08:00
aleksana
060794d950 gtklock-powerbar-module: move to pkgs/by-name 2024-11-13 20:36:24 +08:00
aleksana
2421f1e6ee gtklock-playerctl-module: move to pkgs/by-name 2024-11-13 20:36:16 +08:00
aleksana
76bd26326b gtklock: move to pkgs/by-name 2024-11-13 20:36:07 +08: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
rewine
a36b4d9ac9 wl-screenrec: pin ffmpeg 6
fix: https://github.com/NixOS/nixpkgs/issues/353777
2024-11-05 20:25:48 +08:00
h7x4
1bc16aeb6e
swayrbar: 0.3.8 -> 0.4.0 (#348437) 2024-10-25 16:12:29 +02:00
AtilaSaraiva
9b175cffd7 swaytools: 0.1.1 -> 0.1.2 2024-10-22 23:31:30 -06:00
Austin Horstman
ea4ca62e96
cliphist: move to by-name 2024-10-15 19:13:34 -05:00
Austin Horstman
22d53c3318
cliphist: 0.5.0 -> 0.6.0 2024-10-15 19:13:31 -05:00
R. Ryantm
2d1fda710c swayrbar: 0.3.8 -> 0.4.0 2024-10-14 04:50:08 +00:00
github-actions[bot]
e9c8665026
Merge master into staging-next 2024-10-05 00:14:01 +00:00
h7x4
40085bbbd1
treewide: migrate packages maintained by ivankovnatsky to by-name (#345512) 2024-10-05 01:08:54 +02:00
github-actions[bot]
fb53f9f64b
Merge master into staging-next 2024-10-04 18:04:31 +00:00
Aleksana
eae31bdaa4
gtklock-playerctl-module: fix meta (#345930) 2024-10-04 23:25:21 +08:00
Ivan Kovnatsky
f3f69171dd
treewide: migrate packages maintained by ivankovnatsky to by-name 2024-10-04 16:31:04 +03:00
Colin
d8aa5d1e62 gtklock-playerctl-module: fix meta 2024-10-02 14:00:09 +00:00
github-actions[bot]
22165c231d
Merge master into staging-next 2024-09-27 12:05:46 +00:00
K900
41b117f6ed xwaylandvideobridge: support building with qt6, clean up dependencies 2024-09-27 08:16:34 +03:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +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
K900
b24e9a53ca Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-17 09:07:34 +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
Emily
61922738bb treewide: optimistically unpin FFmpeg 7 dependencies
Per the adjusted FFmpeg pinning advice, packages that work on the
default version should use the unversioned variants to ease the
migration to future versions and reduce the number of packages that
end up referencing old versions.

I have left HandBrake pinned as it builds a custom patched FFmpeg.
2024-09-07 20:31:41 +01:00
rewine
66ef01cdcb
wlr-which-key: 0.1.3 -> 1.0.1 (#330452) 2024-09-04 10:56:57 +08:00
Vladimír Čunát
8210335ff8
waylogout: fix build, missing wayland-scanner 2024-08-31 11:42:48 +02:00
Vladimír Čunát
d5ce130210
wtype: fix build, missing wayland-scanner 2024-08-30 13:13:24 +02:00
github-actions[bot]
59b57346d9
Merge master into staging-next 2024-08-28 18:04:19 +00:00
R. Ryantm
6dafdf9548 hyprland-per-window-layout: 2.12 -> 2.13 2024-08-28 01:08:09 +00:00
Florian Klink
0b09202b66
Merge pull request #214906 from alyssais/wayland-scanner
wayland-scanner: split from wayland
2024-08-12 22:37:05 +03:00
Alyssa Ross
f043fe4abb way-displays: depend on wayland-scanner
Currently wayland-scanner is defined to be wayland.bin, but we want to
split wayland-scanner into a separate package.
2024-08-11 22:41:56 +03:00
Florian Klink
d025091b35 glew: enable both EGL and GLX
Re-roll of https://github.com/NixOS/nixpkgs/pull/328907, but this time
adding the patch from ArchLinux, which keeps both EGL and GLX code paths
active.

Remove overrides where EGL was explicitly requested previously, as well
as the glew-egl package variant.

Add an alias for glew-egl, in case there's any users of this outside
of nixpkgs.
2024-08-11 15:11:22 +03:00
R. Ryantm
0912bbf386 wlr-which-key: 0.1.3 -> 1.0.1 2024-08-08 07:01:52 +00:00
R. Ryantm
90458c8696 mpvpaper: 1.6 -> 1.7 2024-08-05 23:55:47 +00:00
Cole Mickens
20b3191140
Merge pull request #331628 from emilazy/push-plukoopowzmx
wl-screenrec: 0.1.3 -> 0.1.4-unstable-2024-07-28
2024-08-02 14:53:28 -07:00
Emily
d9b57ba729 wl-screenrec: 0.1.3 -> 0.1.4-unstable-2024-07-28
Includes support for FFmpeg 7. We can’t use
the release tag because of a Cargo build issue; see
<https://github.com/russelltg/wl-screenrec/issues/77>. Hopefully
there’ll be a new release tag soon.

Diff: <https://github.com/russelltg/wl-screenrec/compare/v0.1.3...b817accf1d4f2373cb6f466f760de35e5b8626bd>
2024-08-02 18:36:29 +01:00
Masum Reza
09509386c7
Merge pull request #330453 from r-ryantm/auto-update/hyprland-per-window-layout
hyprland-per-window-layout: 2.11 -> 2.12
2024-08-02 19:13:30 +05:30
R. Ryantm
a5d9fb867c shotman: 0.4.6 -> 0.4.7 2024-07-31 08:52:05 +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
R. Ryantm
1bfc705287 hyprland-per-window-layout: 2.11 -> 2.12 2024-07-27 16:22:32 +00:00
Martin Weinelt
93f4195fe0
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/applications/graphics/seamly2d/default.nix
2024-07-26 18:05:04 +02:00
Sigmanificient
543cd40ecc treewide: remove trailing space in description
Done using `grep -rP 'description\s+=\s+"[^"]+[ ]";' | cut -d ':' -f 1 |
xargs -i nvim {}` and sorting the opened files by hand, avoiding
generated packages list
2024-07-26 03:38:50 +02:00
Vladimír Čunát
577f40b8a9
Merge branch 'staging' into staging-next 2024-07-20 16:12:24 +02:00
R. Ryantm
e7aea5de6e wl-mirror: 0.16.4 -> 0.16.5 2024-07-19 17:42:07 +00:00
Martin Weinelt
983077457f
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
-	pkgs/development/python-modules/uvcclient/default.nix
-	pkgs/development/tools/rust/rust-analyzer/default.nix
2024-07-18 12:35:33 +02:00
Florian Klink
d7c6aaa127 wlr-randr: fix cross compilation
Before, the build process wasn't able to find `pkg-config` to discover
`wayland-scanner` in `$PATH`, which is a nativeBuildInput.
2024-07-17 10:59:40 +02:00
Artturin
a516ea8c99 Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00