Commit Graph

517 Commits

Author SHA1 Message Date
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
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
Aleksana
d582f13e5e
treewide: switch to cargoHash (#327127)
* nickel: switch to cargoHash

* gnvim-unwrapped: switch to cargoHash

* surrealdb-migrations: switch to cargoHash

* wluma: switch to cargoHash

* httm: switch to cargoHash

No need (observed) for these packages to have a vendor Cargo.lock. If they for some reason have to use a different Cargo.lock than upstream, they should copy that to the build directory as well, otherwise the build will fail. They don't, so I infer there's no reason to use Cargo.lock.
2024-07-15 22:55:51 +03:00
github-actions[bot]
31817540ee
Merge staging-next into staging 2024-07-14 18:01:37 +00:00
aleksana
1a89942243 treewide: sha256 -> hash attribute for gitlab.com fetchers 2024-07-13 22:28:37 +08:00
Martin Weinelt
176a56c40f
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/applications/misc/blender/default.nix
- pkgs/development/web/nodejs/nodejs.nix
2024-07-11 01:06:28 +02:00
Nick Cao
2250d2e1d6
Merge pull request #325253 from r-ryantm/auto-update/swayr
swayr: 0.27.3 -> 0.27.4
2024-07-10 18:51:03 -04:00
R. Ryantm
ce1ad54b9a hyprland-per-window-layout: 2.10 -> 2.11 2024-07-10 01:52:11 +00:00
R. Ryantm
66e3c4ea07 swayr: 0.27.3 -> 0.27.4 2024-07-07 12:27:03 +00:00
aleksana
a9709c299b treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
Jan Tojnar
0f56e32213
Merge pull request #319659 from jtojnar/gnome-extract
Move various packages out of gnome scope
2024-07-02 08:03:53 +02:00
R. Ryantm
7873e6c537 wl-mirror: 0.16.3 -> 0.16.4 2024-07-01 16:22:18 +00: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
e631ecaa8b wayland-proxy-virtwl: 0-unstable-2024-04-08 -> 0-unstable-2024-06-17 2024-06-24 02:00:36 +00:00
Nick Cao
6288e59525
Merge pull request #320389 from r-ryantm/auto-update/wlr-which-key
wlr-which-key: 0.1.1 -> 0.1.3
2024-06-17 16:33:52 -04:00
Nydragon
3bc13a6170 cliphist: add contribution scripts
cliphist has some scrips that do some of the work of integrating it with
fzf, rofi & wofi. They weren't present in the derivation yet, so this
commit is adding them.

scripts: https://github.com/sentriz/cliphist/tree/master/contrib
2024-06-17 03:14:08 +02:00
R. Ryantm
a460dbac50 wlr-which-key: 0.1.1 -> 0.1.3 2024-06-16 23:54:26 +00:00
R. Ryantm
74b09b094c wl-mirror: 0.16.2 -> 0.16.3 2024-06-12 07:57:13 +00: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
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
R. Ryantm
acafec9832 kanshi: 1.6.0 -> 1.7.0 2024-06-09 08:00:47 +00:00
OTABI Tomoya
9cd0e74167
Merge pull request #315769 from r-ryantm/auto-update/shikane
shikane: 0.2.0 -> 1.0.1
2024-06-05 10:39:44 +09:00
R. Ryantm
932c8db595 shikane: 0.2.0 -> 1.0.1 2024-06-04 22:31:55 +02:00
Atemu
5e96c69cb1
Merge pull request #309414 from Atemu/wluma-install-auxillary-files-and-manpage
marked-man: init at 2.1.0, wluma: use upstream Makefile's install command
2024-05-30 19:03:38 +02:00
Franz Pletz
279f866cbd
Merge pull request #313267 from r-ryantm/auto-update/shotman 2024-05-23 15:41:18 +02:00
Nick Cao
b809ad0cc3
slurp: migrate to by-name 2024-05-20 21:44:42 -04:00
R. Ryantm
3c670621db shotman: 0.4.5 -> 0.4.6 2024-05-21 00:30:00 +00:00