Files
nixpkgs/shell.nix
Robert Hensing 5407a105c8 shell.nix: Support nix-shell -A
It used to be that `nix-shell -A hello` would launch the build shell
for the `hello` package.
By adding `/shell.nix`, that stopped working, as all versions of
`nix-shell` resolve the unspecified file to `$PWD/shell.nix` if it
exists, and now it does.

I have to admit that this use of `//` is not pretty, but the UX/DX
hard to match.
2024-11-02 23:51:41 +01:00

1.2 KiB