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

rust-overlay: querying packages results in "parentheses not balanced" error #70

Closed
adelbertc opened this issue Oct 19, 2017 · 4 comments

Comments

@adelbertc
Copy link

adelbertc commented Oct 19, 2017

This is on macOS Sierra (Darwin), Nix version 1.11.13.

$ nix-env -iA nixpkgs.latest.rustChannels.stable.rust
error: compiling pattern ‘([ 
]*(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[ 
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[ 
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[ 
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[ 
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[ 
...
...repeated a lot of times
...
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")).*’: parentheses not balanced
@hauntedhost
Copy link

I'm seeing this same output on (macOS Sierra 10.12.6) after first run of:

nix-env -iA nixpkgs.latest.rustChannels.nightly.rust
$ nix-env --version
nix-env (Nix) 1.11.15

@eqyiel
Copy link

eqyiel commented Nov 13, 2017 via email

@eqyiel
Copy link

eqyiel commented Dec 9, 2017

Probably due to this: NixOS/nix#1537

@nbp
Copy link
Collaborator

nbp commented Dec 17, 2017

It sounds to me that this might be a miss reported OOM error message from libc++.

You can either switch to Nix 1.12 (after updating to the latest version of nixpkgs-mozilla) or try the work-around as suggested in #33 (comment)

@nbp nbp closed this as completed Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants