Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

lorri clobbers nix-shell environment #485

Open
rvl opened this issue Dec 31, 2020 · 0 comments
Open

lorri clobbers nix-shell environment #485

rvl opened this issue Dec 31, 2020 · 0 comments

Comments

@rvl
Copy link

rvl commented Dec 31, 2020

Describe the bug

I really like using lorri except for two problems that I have. The first is that it seems to be impossible to use nix-shell in a directory managed by lorri/direnv.

To Reproduce
Steps to reproduce the behavior:

  1. Change to a project directory with lorri/direnv enabled.
  2. nix-shell -p cmatrix
  3. Run cmatrix -s, press key to exit.
  4. touch shell.nix, wait a little for lorri daemon, press enter again.
  5. Run cmatrix -s again ... it's disappeared!

Expected behavior

I would like it if lorri could not update variables, or somehow disable direnv temporarily, while a nix-shell is running.

Metadata

lorri 1.2.0 on NixOS.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant