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

Problem with stock lorri direnv .envrc #4

Open
danbst opened this issue Mar 28, 2019 · 2 comments
Open

Problem with stock lorri direnv .envrc #4

danbst opened this issue Mar 28, 2019 · 2 comments
Labels
bug Something isn't working tracking Tracking an issue in an upstream repo user-facing Improvement that increases user experience

Comments

@danbst
Copy link

danbst commented Mar 28, 2019

I've intalled NixOS module as per doc to enable direnv.
Then cloned lorri, entered dir, but instead of installing lorri, i've run direnv allow. It started to download stuff, but when it started compiling Rust, I decided to ^C it.

But I couldn't! After interrupt it restarted install of Rust, until I killed terminal.

Recording
https://asciinema.org/a/rNsfYKNI0HCJIX1BKIjVaoyE2

@Profpatsch
Copy link
Collaborator

direnv evaluates .envrc on each new shell prompt. If that contains a long-running (blocking) process, it will restart it after each Ctrl+C, as of its design. If you haven’t installed lorri we fall back to direnvs default use nix support.

I’d consider this an upstream issue, though we can think about removing the fallback to use nix.

cc @zimbatm

@Profpatsch Profpatsch added bug Something isn't working user-facing Improvement that increases user experience labels Mar 29, 2019
@Profpatsch Profpatsch added the tracking Tracking an issue in an upstream repo label Jun 25, 2019
@Profpatsch
Copy link
Collaborator

Opened upstream issue: direnv/direnv#523

It would be good if you could comment on your specific direnv setup, because I couldn’t exactly reproduce in fish.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working tracking Tracking an issue in an upstream repo user-facing Improvement that increases user experience
Projects
None yet
Development

No branches or pull requests

2 participants