Closed hraban closed 1 year ago
I didn't think too deeply about this, but I do see the same segfault on x86_64-darwin. It's over 125k lines, but I've attached a verbose segfault.log. I ran it a few times to make sure it failed at the same spot (at least per log output) each time.
$ nix-build -vvvvvv -E '(import "${(builtins.fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/e10802309bf9ae351eb27002c85cfdeb1be3b262.tar.gz"; sha256 = "wQgnxz0PdqbyKKpsWl/RU8T8QhJQcHfeC6lh1xRUTfk="; })}/nixos/release-combined.nix" {}).nixos.iso_minimal.x86_64-linux' &> segfault.log
Segmentation fault: 11
Same build log from aarch64 darwin: darwin-aarch64-segfault.log
Probably fixed / worked around in https://github.com/NixOS/nix/pull/7725. Could you try with Nix 2.15.1?
nice 👍 no more segfault with latest Nix. I didn't think to check, my bad.
Describe the bug
When evaluating the nixos .iso derivation for linux, on darwin, you get a segfault.
Steps To Reproduce
Expected behavior
A regular error, like e.g. what you get on aarch64-linux:
(that's good)
nix-env --version
output nix-env (Nix) 2.13.3Additional context
I concocted that one-liner to build by assimilating instructions from https://r13y.com/
Priorities
Add :+1: to issues you find important.