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 search shell.nix for path #11053

Open
Freed-Wu opened this issue Jul 6, 2024 · 0 comments · May be fixed by #11057
Open

nix-shell search shell.nix for path #11053

Freed-Wu opened this issue Jul 6, 2024 · 0 comments · May be fixed by #11057
Labels
feature Feature request or proposal

Comments

@Freed-Wu
Copy link
Contributor

Freed-Wu commented Jul 6, 2024

Is your feature request related to a problem? Please describe.

nix-shell will use default.nix or shell.nix when default.nix doesn't exist.
nix-shell /a/path/of/a/directory will use /a/path/of/a/directory/default.nix

Describe the solution you'd like
When /a/path/of/a/directory/default.nix doesn't exist, search /a/path/of/a/directory/shell.nix.

Additional context
currently, nix-shell /a/path/of/a/directory/shell.nix can work.

Priorities

Low.

Add 👍 to issues you find important.

@Freed-Wu Freed-Wu added the feature Feature request or proposal label Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request or proposal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant