-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Closed
Copy link
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: darwinRunning or building packages on DarwinRunning or building packages on Darwin
Description
Nixpkgs version
- Unstable (25.11)
Describe the bug
While running nixpkgs-review pr #427872:
… while evaluating attribute 'buildFlags' of derivation 'linux-rpi-6.12.34-stable_20250702'
error: attribute 'target' missing
at /Users/seclark/.cache/nixpkgs-review/pr-427872-2/nixpkgs/pkgs/os-specific/linux/kernel/manual-config.nix:329:13:
328| "KBUILD_BUILD_VERSION=1-NixOS"
329| kernelConf.target
| ^
330| "vmlinux" # for "perf" and things like that
https://github.com/NixOS/nixpkgs/pull/427872 failed to build: Failed to list packages: nix-env failed with exit code 1Steps to reproduce
nix-shell -p nixpkgs-review --run "nixpkgs-review pr --build-args \"--option sandbox false\" --print-result 427872"
Expected behaviour
The build shouldn't break
Screenshots
No response
Relevant log output
❯ nix-shell -p nixpkgs-review --run "nixpkgs-review pr --build-args \"--max-jobs 4 --option sandbox false\" --eval local --print-result 427872"
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/427872/merge:refs/nixpkgs-review/1
remote: Enumerating objects: 59, done.
remote: Counting objects: 100% (55/55), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 26 (delta 20), reused 19 (delta 14), pack-reused 0 (from 0)
Unpacking objects: 100% (26/26), 4.29 KiB | 122.00 KiB/s, done.
From https://github.com/NixOS/nixpkgs
4ba0ebe962e2..067e9e2d829f master -> refs/nixpkgs-review/0
+ 824b7ced18fe...7e349a07d8dd refs/pull/427872/merge -> refs/nixpkgs-review/1 (forced update)
$ git worktree add /Users/seclark/.cache/nixpkgs-review/pr-427872-2/nixpkgs 067e9e2d829f3bf439c98faa30dbf2c4463ce07a
Preparing worktree (detached HEAD 067e9e2d829f)
Updating files: 100% (48847/48847), done.
HEAD is now at 067e9e2d829f nixos/tests/owi: init (#426120)
Local evaluation for computing rebuilds
$ nix-env --extra-experimental-features no-url-literals --option system aarch64-darwin -f <nixpkgs> --nix-path nixpkgs=/Users/seclark/.cache/nixpkgs-review/pr-427872-2/nixpkgs nixpkgs-overlays=/private/tmp/nix-shell-28610-0/tmpke6u3q7s -qaP --xml --out-path --show-trace --no-allow-import-from-derivation
error:
… while querying the derivation named 'linux-rpi-6.12.34-stable_20250702'
… in the condition of the assert statement
at /Users/seclark/.cache/nixpkgs-review/pr-427872-2/nixpkgs/lib/customisation.nix:401:15:
400| outPath =
401| assert condition;
| ^
402| drv.${outputName}.outPath;
… while calling the 'seq' builtin
at /Users/seclark/.cache/nixpkgs-review/pr-427872-2/nixpkgs/lib/customisation.nix:105:29:
104| in
105| flip (extendDerivation (seq drv.drvPath true)) newDrv (
| ^
106| {
… while evaluating the attribute 'drvPath'
at /Users/seclark/.cache/nixpkgs-review/pr-427872-2/nixpkgs/lib/customisation.nix:418:7:
417| // {
418| drvPath =
| ^
419| assert condition;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'linux-rpi-6.12.34-stable_20250702'
whose name attribute is located at /Users/seclark/.cache/nixpkgs-review/pr-427872-2/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:482:13
… while evaluating attribute 'buildFlags' of derivation 'linux-rpi-6.12.34-stable_20250702'
error: attribute 'target' missing
at /Users/seclark/.cache/nixpkgs-review/pr-427872-2/nixpkgs/pkgs/os-specific/linux/kernel/manual-config.nix:329:13:
328| "KBUILD_BUILD_VERSION=1-NixOS"
329| kernelConf.target
| ^
330| "vmlinux" # for "perf" and things like that
https://github.com/NixOS/nixpkgs/pull/427872 failed to build: Failed to list packages: nix-env failed with exit code 1Additional context
No response
System metadata
- system:
"aarch64-darwin" - host os:
Darwin 24.5.0, macOS 15.5 - multi-user?:
yes - sandbox:
relaxed - version:
nix-env (Nix) 2.28.4 - channels(root):
"nixpkgs" - nixpkgs:
/nix/store/7ln0qilwhb0bb9s2dny5vwxi72symp73-source
Are you using nix-darwin?
Yes, I am using nix-darwin.
Notify maintainers
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.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: darwinRunning or building packages on DarwinRunning or building packages on Darwin