Commit Graph

29105 Commits

Author SHA1 Message Date
Alyssa Ross
9704a4f856 upower: add withSystemd option
Since 7f2a6f17fc ("xdg-desktop-portal-gtk: Enable all default
portals unconditionally"), building upower is necessary to build
xdg-desktop-portal-gtk, but it wasn't possible for systems that can't
use systemd.

I've called the option "withSystemd" as it's the most common name for
this kind of option in Nixpkgs, and it's consistent with the package's
"withIntrospection" argument (though not "useIMobileDevice").
2024-10-13 11:50:47 +02:00
Alyssa Ross
e7a5d9ec42 upower: fix disabling introspection 2024-10-13 11:50:47 +02:00
Alyssa Ross
b816a99cea systemd.meta.pkgConfigModules: init 2024-10-13 11:49:07 +02:00
K900
001fb496bf Merge remote-tracking branch 'origin/master' into staging-next 2024-10-12 21:08:11 +03:00
Florian Klink
2afe930c60
ipu6: update packages (#347918) 2024-10-12 19:27:43 +03:00
Artturin
98ebbdba36
zenmonitor: inherit meta.homepage from new src (#348009) 2024-10-12 18:28:43 +03:00
Maximilian Bosch
d3e6c8fc75 linux: implement rustAvailable condition
* It doesn't matter if `rustc` is available, but if rustc can compile to
  the hostPlatform. So use a custom condition instead of `availableOn`.
* Explicitly exclude the combination of GCC and riscv which is known
  to be broken[1].

[1] https://lore.kernel.org/lkml/31885EDD-EF6D-4EF1-94CA-276BA7A340B7@kernel.org/T/

Co-authored-by: Alyssa Ross <hi@alyssa.is>
2024-10-12 17:08:18 +02:00
Maximilian Bosch
bda6c82a81 linux_testing: disable NFS_LOCALIO on aarch64-linux
This breaks the build like this:

      /nix/store/f3k0rdhcd2cx57phx755c2xixgifw5m5-binutils-2.42/bin/ld: Unexpected GOT/PLT entries detected!
      /nix/store/f3k0rdhcd2cx57phx755c2xixgifw5m5-binutils-2.42/bin/ld: Unexpected run-time procedure linkages detected!
      /nix/store/f3k0rdhcd2cx57phx755c2xixgifw5m5-binutils-2.42/bin/ld: fs/nfs/localio.o: in function `nfs_local_iocb_alloc':
      /build/source/build/../fs/nfs/localio.c:290:(.text+0x324): undefined reference to `nfs_to'
      [...]

Reported as https://lore.kernel.org/all/D4OUJRP8YWRM.ATQ7KASTYX5H@mbosch.me/
2024-10-12 17:08:18 +02:00
Maximilian Bosch
3bf9c88c1d linux_testing: enable Rust by default for aarch64-linux
The first assumption[1] we had was that the `aarch64-unknown-none`
target was missing from rustc and that this was the cause for the
regression.

However, it turns out that the relevant code from `rustc` wasn't used
anyways because the Makefile does `--sysroot /dev/null`[2] which prevents
rustc from using its own libcore. So luckily we don't have to patch the
Rust bootstrap to get aarch64-linux back working[3].

In fact, the Rust part seems broken for both 6.10 and 6.11[4], but I
decided to not bother since none of those are longterm versions.

So all that's left here is to enable Rust for aarch64-linux because it
clearly works[5].

[1] https://github.com/NixOS/nixpkgs/pull/315121#issuecomment-2135805876
[2] https://lore.kernel.org/all/20231031201752.1189213-1-mmaurer@google.com/
[3] Of course I only realized this _after_ I spent some time hacking a rustc
    patch together 🙃
[4] This broke with

        error[E0463]: can't find crate for `core`
          |
          = note: the `aarch64-unknown-none` target may not be installed
          = help: consider downloading the target with `rustup target add aarch64-unknown-none`
          = help: consider building the standard library from source with `cargo build -Zbuild-std`

[5] While the build is fine, the VM tests are still panicking, but
    that's also the case for `kernel-generic` because of a 9p
    regression:

        switch_root: can't execute '/nix/store/zv87gw0yxfsslq0mcc35a99k54da9a4z-nixos-system-machine-test/init': Exec format error
        [    1.734997] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
        [    1.736002] CPU: 0 UID: 0 PID: 1 Comm: switch_root Not tainted 6.12.0-rc1 #1-NixOS
        [...]

    Reported as https://lore.kernel.org/all/D4LHHUNLG79Y.12PI0X6BEHRHW@mbosch.me/T/#u
2024-10-12 17:08:18 +02:00
Maximilian Bosch
db56cecb0d
Merge: linux: mark <6.12 with Rust as broken, assert on <6.7 with Rust (#346648) 2024-10-12 17:04:58 +02:00
github-actions[bot]
4433a315bd
Merge master into staging-next 2024-10-12 12:05:08 +00:00
Sandro
45c1c5415a
kmod-blacklist-ubuntu: 30+20230519-1ubuntu3 -> 31+20240202-2ubuntu8 (#347927) 2024-10-12 11:53:34 +02:00
lordkekz
32a4de4339
zenmonitor: inherit meta.homepage from new src 2024-10-12 00:29:50 +02:00
Matej Cotman
f53387e15a ipu6: update packages
This updates the ipu6 driver and firmware to a more recent version,
which seems to at least work in Chrom{e,ium}.

ipu6-drivers now relies on the in-kernel ipu6 kernel driver, so we
update our logic and metadata for it.
2024-10-12 00:45:04 +03:00
Moritz Sanft
d15cb70a34
kmod-blacklist-ubuntu: 30+20230519-1ubuntu3 -> 31+20240202-2ubuntu8 2024-10-11 15:32:17 +02:00
github-actions[bot]
ca2d394166
Merge master into staging-next 2024-10-11 12:05:38 +00:00
codgician
c4f5ce69bd
linuxPackages_latest.prl-tools: 20.0.1-55659 -> 20.1.0-55732 2024-10-11 05:24:13 +00:00
codgician
ed0f0dded5
linuxPackages_latest.prl-tools: fix regex used in updater script to comply with latest webpage 2024-10-11 13:23:38 +08:00
github-actions[bot]
aa2334f4a8
Merge master into staging-next 2024-10-11 00:14:02 +00:00
Nick Cao
45fb2feb3f
raycast: 1.83.2 -> 1.84.2 (#347708) 2024-10-10 18:18:38 -04:00
github-actions[bot]
c64ae284c0
Merge master into staging-next 2024-10-10 18:04:46 +00:00
K900
b72f50d54d linux_6_6: 6.6.55 -> 6.6.56 2024-10-10 14:28:31 +03:00
K900
d46a9a88bd linux_latest-libre: 19631 -> 19643 2024-10-10 14:05:42 +03:00
K900
3a2f84759e linux_6_6: 6.6.54 -> 6.6.55 2024-10-10 14:05:24 +03:00
K900
7c3d301c34 linux_6_10: 6.10.13 -> 6.10.14 2024-10-10 14:05:19 +03:00
K900
2859f7a0e0 linux_6_11: 6.11.2 -> 6.11.3 2024-10-10 14:05:16 +03:00
K900
cb9384a430 linux_testing: 6.12-rc1 -> 6.12-rc2 2024-10-10 14:05:12 +03:00
DontEatOreo
3b66f6f8fd
raycast: 1.83.2 -> 1.84.2
Changelog: https://www.raycast.com/changelog/1-84-0
2024-10-10 13:23:12 +03:00
github-actions[bot]
1404154595
Merge master into staging-next 2024-10-10 00:14:06 +00:00
adisbladis
9ee9cac888
waydroid: 1.4.2 -> 1.4.3; add update script, move to by-name, format, and other cleanup (#346270) 2024-10-10 00:09:42 +00:00
K900
0717a4da77 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-09 21:08:25 +03:00
Franz Pletz
23332e093b
iwd: enable debug info (#346446) 2024-10-09 17:05:32 +02:00
K900
956f9243c0 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-08 21:15:13 +03:00
Markus Kowalewski
01b7c60b9c
rdma-core: 53.0 -> 54.0 (#346929) 2024-10-08 20:09:24 +02:00
Vladimír Čunát
a0c9222e11
Merge branch 'master' into staging-next
(a bit older master for now, due to a conflict in dhcpcd service)
2024-10-08 14:59:47 +02:00
Atemu
090a10b227
linux_xanmod, linux_xanmod_latest: 2024-10-04 (#346523) 2024-10-08 08:10:36 +02:00
github-actions[bot]
3997afd38f
Merge master into staging-next 2024-10-08 06:05:11 +00:00
Nick Cao
7054aa15d1
linuxPackages.nvidiaPackages.vulkan_beta: 550.40.75 -> 550.40.76 (#347167) 2024-10-07 21:19:17 -04:00
Emily
df769e85f3 Merge master into staging-next 2024-10-08 01:23:55 +01:00
Tomo
a3c06b40ce
msi-ec-kmods: init at 0-unstable-2024-09-19 (#343038) 2024-10-07 16:08:51 -07:00
Kiskae
407c4c1fb6 linuxPackages.nvidiaPackages.vulkan_beta: 550.40.75 -> 550.40.76 2024-10-07 22:29:15 +02:00
K900
0846895fc6 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-07 21:08:55 +03:00
Tristan Ross
8931ba93e5
Drop old Flutter versions (#346732) 2024-10-07 10:40:20 -04:00
m1dugh
2aa9d16122 msi-ec-kmods: init at 0-unstable-2024-09-19
Adds msi-ec-kmods kernel module for msi embedded controllers.
2024-10-06 23:14:30 +02:00
Markus Kowalewski
35263a4d53 rdma-core: 53.0 -> 54.0 2024-10-06 21:14:59 +02:00
github-actions[bot]
7ab01e096c
Merge master into staging-next 2024-10-06 18:03:58 +00:00
Michele Guerini Rocco
7eef63ed98
wpa_supplicant: add patch to fix ext_passwords_file bug (#342792) 2024-10-06 19:15:19 +02:00
Tristan Ross
d08e057fcb
firmware-updater: unstable-2024-18-04 -> 0-unstable-2024-10-03 2024-10-06 09:05:08 -07:00
Maximilian Bosch
19b9676383
linux: mark <6.12 with Rust as broken, assert on <6.7 with Rust
Linux 6.7 is the oldest kernel with Rust support, so the config part
should fail hard if 6.6 or older requests the Rust feature. Until now
this was silently ignored[1].

It turned out that Rust for Linux 6.11 or older fails for unknown
reasons[2]. We decided to not bother since it's not a longterm kernel
and 6.12 seems fine again. As a result, marking this as broken.

[1] https://github.com/NixOS/nixpkgs/pull/345534#discussion_r1781392312
[2] https://github.com/NixOS/nixpkgs/pull/345534#issuecomment-2391238381
2024-10-05 13:31:09 +02:00
github-actions[bot]
13400dc754
Merge master into staging-next 2024-10-05 06:04:21 +00:00