ocamlPackages.eio_main: Unable to build without ocamlPackages.uring
on linux and cannot override.
#373872
Closed
3 tasks done
Labels
0.kind: bug
Something is broken
Nixpkgs version
Describe the bug
On a linux kernel with
io_uring
disabled, or even withoutio_uring
at all (CONFIG_IO_URING=n
), buildingocamlPackages.eio_main
fails because thecheckPhase
ofocamlPackages.uring
naturally fails withoutio_uring
.However I cannot seem to figure out how to build
ocamlPackages.eio_main
even by override the package which seems to have no effect at all; sinceocamlPackages.eio_main
depends onocamlPackages.eio_linux
(which itself depends onocamlPackages.uring
whenstdenv.hostPlatform.isLinux
istrue
(see here), I have tried the following overlay:However, this also results in the
ocamlPackages.uring
being built when runningnix build nixpkgs#ocamlPackages.eio_main
.There should be a simple way to override the automatic dependency of
ocamlPackages.eio_main
toocamlPackages.eio_linux
.Steps to reproduce
nix build nixpkgs#ocamlPackages.eio_main
.Expected behaviour
It should be trivial to override the behaviour of
ocamlPackages.eio_main
depending onocamlPackages.eio_linux
.Screenshots
No response
Relevant log output
Additional context
No response
System metadata
"x86_64-linux"
Linux 6.7.0, NixOS, 24.11 (Vicuna), 24.11.20250110.1dab772
no
yes
nix-env (Nix) 2.24.11
/nix/store/ynjyhwksmz6rxipx3r0h8gyj42lvd4ak-source
Notify maintainers
@toastal
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: