You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to build display-switch on aarch64, nix-0.10.0 fails to compile (see nix-rust/nix#951):
Compiling nix v0.10.0
error[E0425]: cannot find value `MAP_32BIT` in crate `libc`
--> /home/clayton/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.10.0/src/sys/mman.rs:49:9
|
49 | MAP_32BIT;
| ^^^^^^^^^ not found in `libc`
Looks like uinput depends on an old version of nix (0.10), that is missing this patch: nix-rust/nix@7f0fb19 It also looks like the uinput crate hasn't seen updates in years (there's an open MR to use a later nix version...)
The text was updated successfully, but these errors were encountered:
@haimgel hey just curious if you have any ideas for how to proceed here... I've been trying to package the latest version of display-switch in Alpine but haven't been able to build it because of this failure :(
Well, this sucks! There's no way today in Rust to force-update a transitive dependency from the same source, so I cannot upgrade nix for uinput.
The only way I can think this can be addressed today is to replace uinput (which is only used to wake up displays on Linux) with more up-to-date. However, musl-based systems are not on top of my priorities because they are not widely used as desktop systems, so I won't be able to look into this in a short or medium term.
When attempting to build display-switch on aarch64,
nix-0.10.0
fails to compile (see nix-rust/nix#951):Looks like uinput depends on an old version of nix (0.10), that is missing this patch: nix-rust/nix@7f0fb19 It also looks like the
uinput
crate hasn't seen updates in years (there's an open MR to use a laternix
version...)The text was updated successfully, but these errors were encountered: