nix eval segmentation fault on long line (`nix eval nixpkgs#lispPackages_new.sbclPackages`)
Closed this issue · 2 comments
hraban commented
Describe the bug
Nix tool segfaults when printing a large set.
Steps to reproduce
$ nix eval nixpkgs#lispPackages_new.sbclPackages
Segmentation fault: 11
Another example:
$ nix repl
(import <nixpkgs> {}).lispPackages_new.sbclPackages
... outputs a lot, then:
Segmentation fault: 11
$
Same if I clone nixpkgs locally and do import ./. {}
, instead.
Expected behavior
A very very long output line.
Metadata
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-darwin"`
- host os: `Darwin 21.6.0, macOS 10.16`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 2.9.1`
- channels(hraban): `""`
- channels(root): `"nixpkgs"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
veprbl commented
Might want to file this to https://github.com/NixOS/nix/issues
hraban commented
You're right thank you, that makes sense. Thanks, I'm still new to the whole thing.