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.
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.