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-shell . behaves differently than nix-shell #496

Closed
cocreature opened this issue Mar 5, 2015 · 2 comments · Fixed by #11057
Closed

nix-shell . behaves differently than nix-shell #496

cocreature opened this issue Mar 5, 2015 · 2 comments · Fixed by #11057
Labels
cli The old and/or new command line interface nix-shell nix-shell, nix develop, nix print-dev-env, etc

Comments

@cocreature
Copy link

When not passing a path to nix-shell it behaves exactly as expected: it searches first for shell.nix and then for default.nix
When one passes . (or some other folder) as a path to nix-shell it searches only for default.nix

In my opinion this is confusing and inconsistent.

@stale
Copy link

stale bot commented Feb 15, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Feb 15, 2021
@stale
Copy link

stale bot commented Apr 30, 2022

I closed this issue due to inactivity. → More info

@stale stale bot closed this as completed Apr 30, 2022
@thufschmitt thufschmitt reopened this Feb 24, 2023
@edolstra edolstra removed their assignment Apr 26, 2024
@stale stale bot removed the stale label Apr 26, 2024
@roberth roberth added cli The old and/or new command line interface nix-shell nix-shell, nix develop, nix print-dev-env, etc labels Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli The old and/or new command line interface nix-shell nix-shell, nix develop, nix print-dev-env, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants