NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.1k stars 1.47k forks source link

Underscore issue still present in 2.13.1: error: invalid outputs specifier #7683

Open dukejones opened 1 year ago

dukejones commented 1 year ago

Describe the bug

It appears that packages containing underscores breaks nix-shell.

This was first reported in #7624

Issue was supposed to be fixed by #7631 ; however, I still got this error running 2.13.1.

Steps To Reproduce

nix-shell https://holochain.love

error: invalid outputs specifier 'hc,holochain,kitsune_p2p_tx2_proxy'

(The offending library here is probably "kitsune_p2p_tx2_proxy".)

Expected behavior

[a shell appears]

nix-env --version output

nix (Nix) 2.13.1

dukejones commented 1 year ago

For now I got it working by downgrading to 2.12 curl -L https://releases.nixos.org/nix/nix-2.12.0/install | sh

Ericson2314 commented 1 year ago

This is fixed in a second PR: #7639

roberth commented 1 year ago

The fix has been released in 2.13.2.