Skip to content

nix-shell search shell.nix for path #11053

@Freed-Wu

Description

@Freed-Wu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeature request or proposal
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions