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

error: nix-shell requires a single derivation #782

Open
nikclayton-dfinity opened this issue Jun 10, 2020 · 3 comments
Open

error: nix-shell requires a single derivation #782

nikclayton-dfinity opened this issue Jun 10, 2020 · 3 comments

Comments

@nikclayton-dfinity
Copy link

All commands run in the root of a freshly checked out Hydra repository.

% nix --version
nix (Nix) 2.3.6

% git rev-parse HEAD
1831866a52df4a2821faf902c8440136cdf4c827

# This is most recent commit at the time of writing

% nix-shell
error: nix-shell requires a single derivation
Try 'nix-shell --help' for more information.
@edolstra
Copy link
Member

Hm, I can't reproduce this...

@knl
Copy link
Contributor

knl commented Jun 11, 2020

I can't reproduce it on Linux, however, this error pops up on Darwin. I don't know if nix-shell is supported on Darwin, I highly doubt it.

@edolstra
Copy link
Member

Good point. The flake.nix doesn't provide a devShell or defaultPackage for x86_64-darwin. The error message could be nicer...

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

3 participants