Skip to content

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

@cocreature

Description

@cocreature

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliThe old and/or new command line interfacenix-shellnix-shell, nix develop, nix print-dev-env, etc
    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