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

Unclear error message when running unknown job. #33

Open
Zimmi48 opened this issue Jun 2, 2021 · 2 comments
Open

Unclear error message when running unknown job. #33

Zimmi48 opened this issue Jun 2, 2021 · 2 comments

Comments

@Zimmi48
Copy link
Member

Zimmi48 commented Jun 2, 2021

nix-shell --argstr job foo will produce:

error: nix-shell requires a single derivation
@Zimmi48
Copy link
Member Author

Zimmi48 commented Jun 2, 2021

This can be especially confusing when the unknown job is simply a known Coq project that is missing from coqPackages.

@Zimmi48
Copy link
Member Author

Zimmi48 commented Dec 16, 2021

As discussed in https://coq.zulipchat.com/#narrow/stream/290990-Nix-toolbox.20devs.20.26.20users/topic/.60nix-shell.20https.3A.2F.2Fcoq.2Einria.2Efr.2Fnix.2Ftoolbox.20--argstr.20job.60, we should ensure that we fail at evaluation time instead of producing an empty derivation in such cases.

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

1 participant