Thanks to visit codestin.com
Credit goes to github.com

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

Feature Request: Allow nix-shell caching to be used independently of file watching #167

@duog

Description

@duog

Hi,
thanks for this project, I'm finding it very useful.

I'm not entirely comfortable having lorri do builds in the background, I'd rather control when the builds happen. But I very much want to leverage your intelligent, correct shell caching behaviour.

I'd like to be able to do:

$ lorri shell

and have it be cache the result to ./.lorri/env or similar, in the same way the direnv use_nix functions do, but with your cache invalidation logic.

Similarly, I'd like to be able to use something like:

#! /usr/bin/env lorri
#! lorri shell -i bash ...
...

in scripts to get fast shells. I don't have a lot of insight into how the shebang gadget should look, I hope it's clear.

This seems like it might be a relatively straightforward extension to lorri. With your approval and guidance I'd be happy to take a stab at it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequest for new functionalitymore data neededSome party needs to provide more informationuser-facingImprovement that increases user experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions