Repository navigation
Closed
Labels
0.kind: build failureA package fails to build6.topic: pythonPython is a high-level, general-purpose programming language.
Description
Steps To Reproduce
Steps to reproduce the behavior (replace /dev/sda with the disk you're trying to install NixOS onto):
fdisk /dev/sdamkfs.vfat -F32 /dev/sda1mkfs.bcachefs /dev/sda2mount -t bcachefs /dev/sda2 /mntmkdir /mnt/bootmount -t vfat /dev/sda1 /mnt/bootnixos-generate-config --root /mntwget -O /mnt/etc/nixos/configuration.nix https://gist.github.com/kennystrawnmusic/05e6bcea71e2d08f2414b9681b2b0de8/raw/ce55548890583f5b498404d8ba7cc55768ed369a/configuration.nixnixos-install -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/staging.tar.gz -I nixos=https://github.com/NixOS/nixpkgs/archive/staging.tar.gz
Build log
building the configuration in /mnt/etc/nixos/configuration.nix...
error:
… while calling the 'head' builtin
at /mnt/nix/store/g6k7p7d1480l6d307sqbcklfszva6g1s-source/lib/attrsets.nix:1575:11:
1574| || pred here (elemAt values 1) (head values) then
1575| head values
| ^
1576| else
… while evaluating the attribute 'value'
at /mnt/nix/store/g6k7p7d1480l6d307sqbcklfszva6g1s-source/lib/modules.nix:821:9:
820| in warnDeprecation opt //
821| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
822| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/mnt/nix/store/g6k7p7d1480l6d307sqbcklfszva6g1s-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `system.systemBuilderArgs':
… while evaluating definitions from `/mnt/nix/store/g6k7p7d1480l6d307sqbcklfszva6g1s-source/nixos/modules/system/activation/activatable-system.nix':
… while evaluating the option `system.activationScripts.etc.text':
… while evaluating definitions from `/mnt/nix/store/g6k7p7d1480l6d307sqbcklfszva6g1s-source/nixos/modules/system/etc/etc-activation.nix':
… while evaluating definitions from `/mnt/nix/store/g6k7p7d1480l6d307sqbcklfszva6g1s-source/nixos/modules/system/etc/etc.nix':
… while evaluating the option `environment.etc.dbus-1.source':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: distorm3-3.5.2 not supported for interpreter python3.12
Additional context
Actually used staging tarballs to test the supposed #325968 fix; still having problems despite that
Notify maintainers
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
- system: `"x86_64-linux"`
- host os: `Linux 6.9.9-zen1-1-zen, Arch Linux, noversion, rolling`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.23.3`
- channels(root): `"nixpkgs"`
- nixpkgs: `/home/realkstrawn93/.nix-defexpr/channels/nixpkgs`Add a 👍 reaction to issues you find important.
Reacted by Kenny Strawn
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build6.topic: pythonPython is a high-level, general-purpose programming language.
Activity
kennystrawnmusic commentedon Jul 19, 2024
For those curious, the disk I have Arch (oops, BlackArch) on is
/dev/nvme0n1— so no, I'm not trying to overwrite Arch with NixOS and break both systems by so doing as some might suspect with the way the disks in the reproduction steps are.eclairevoyant commentedon Jul 19, 2024
Don't see any mention of distorm3 in #325968. Anyway the reason is here:
nixpkgs/pkgs/development/python-modules/distorm3/default.nix
Line 17 in 7007e50
Upstream seems dead for 3 years though