Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix build --impure segfault outputsToInstall #6488

Closed
Artturin opened this issue May 4, 2022 · 1 comment · Fixed by #6489
Closed

nix build --impure segfault outputsToInstall #6488

Artturin opened this issue May 4, 2022 · 1 comment · Fixed by #6489
Labels

Comments

@Artturin
Copy link
Member

Artturin commented May 4, 2022

Describe the bug
segfault while running nix build --impure "nixpkgs#bash"

Steps To Reproduce

  1. run nix build --impure "nixpkgs#bash"

nix (Nix) 2.9.0pre20220411_f7276bc

instantiated 'bash-5.1-p16' -> '/nix/store/zmlniq7rkz4mq0bb07wyzpj4k65nm6hf-bash-5.1-p16.drv'
evaluating uncached attribute 'legacyPackages.x86_64-linux.bash'
evaluating uncached attribute 'legacyPackages.x86_64-linux.bash.meta'
evaluating uncached attribute 'legacyPackages.x86_64-linux.bash.meta.outputsToInstall'
[1]    2398673 segmentation fault (core dumped)  nix -L build --impure "nixpkgs#bash" -vvvvvvvvvvvvvvvvv

#6426 looks suspicious due to outputsToInstall

@Artturin Artturin added the bug label May 4, 2022
@Artturin
Copy link
Member Author

Artturin commented May 4, 2022

confirmed that cae7473 works which is one commit before 404c222

@Artturin Artturin changed the title nix build --impure segfault nix build --impure segfault outputsToInstall May 4, 2022
thufschmitt added a commit to alexshpilkin/nix that referenced this issue May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant