Execute buffer-local Nix environments.
This package provides one interactive function, nix-local-buffer
.
You will be prompted for a flake (defaults to nixpkgs
) and a list of packages.
Specifying nixpkgs
and nodejs racket
will build nixpkgs#nodejs
and
nixpkgs#racket
and make their /bin
directories available in the buffer
environment.
- I want ad-hoc buffer-local environments that don’t use the old “nix-*” commands.
- I wanted to be able to run
quickrun
ad-hoc without making files.
I used to use nix-buffer
. It’s great. But direnv
/ envrc
makes it
superfluous.
I actively use envrc
and direnv
. I am a big believer in the usefulness of
direnv
for projects. The problem is that I cannot use this for buffers that
aren’t associated to files.
- Searchable options, accept multiple selections