Repository navigation
Closed
Labels
0.kind: build failureA package fails to build
Description
Nixpkgs version
Please select a version.
Steps to reproduce
I am not sure if this is a build failure of v4l2loopback itself, because it DID build and produces files in result, but nixos complains that v4l2loopback is the causes of the problem when doing nixos-rebuild switch
Can Hydra reproduce this build failure?
Hydra doesn’t try to build the package.
Link to Hydra build job
No response
Relevant log output
cancel@nixos ~> nixos-rebuild build --max-jobs 1
building the system configuration...
evaluation warning: stdenv.isLinux is deprecated, use stdenv.hostPlatform.isLinux instead
evaluation warning: stdenv.isDarwin is deprecated, use stdenv.hostPlatform.isDarwin instead
error: Cannot build '/nix/store/l19dzc0vzf33fqqv9dhrjpk81jnwppik-linux-7.2.11-modules.drv'.
Reason: builder failed with exit code 25.
Output paths:
/nix/store/pd9zzs0xb04jqyjnnmkl8pmbjiyw47x2-linux-7.2.11-modules
Last 6 log lines:
> structuredAttrs is enabled
> pkgs.buildEnv error: two given paths contain a conflicting subpath:
> `/nix/store/93n5879v79ljfdhaglr8p4kxndrgmq0d-v4l2loopback-0.15.4/lib/modules/7.2.11/modules.devname' and
> `/nix/store/36c6ybh6gv1mbnfq5n5sbqy2ghbdcgsa-linux-7.2.11-modules/lib/modules/7.2.11/modules.devname'
> hint: this may be caused by two different versions of the same package in buildEnv's `paths` parameter
> hint: `pkgs.nix-diff` can be used to compare derivations
For full logs, run:
nix log /nix/store/l19dzc0vzf33fqqv9dhrjpk81jnwppik-linux-7.2.11-modules.drv
error: Cannot build '/nix/store/qbmz2vbwl9vi3sqfawah8fqkx0dpfx1w-nixos-system-nixos-26.11.20261019.52a12bf.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/c1zkx5m83f9zi8rqqc0vbg911npn6kjn-nixos-system-nixos-26.11.20261019.52a12bf
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '/etc/nixos#nixosConfigurations."nixos".config.system.build.toplevel' --max-jobs 1' returned non-zero exit status 1.Additional context
have to enable this in config:
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
System metadata
- system:
"x86_64-linux" - host os:
Linux 7.2.10, NixOS, 26.11 (Zokor), 26.11.20261015.e409693 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.34.9 - nixpkgs:
/nix/store/gfgfydpiv5v4dc90j1ccv15af6wzdsi0-source
Notify maintainers
@moni-dz @Bot-wxt1221
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
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reacted by Cédric Prezelin, Aiden Schembri, Andreas, Sebastian Fleer, kylosus, Maxwell Anderson, LazilyStableProton, boris-the-cat-1, AmirSahrani, MogelijksMathijs and 15 more
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build
Activity
fix: various changes and fixes due to flake bump