An open API service indexing awesome lists of open source software.

https://github.com/benschza/persistant-nix-shell

nix-shell script to make derivations persistant, and avoid Nix garbage collection
https://github.com/benschza/persistant-nix-shell

nix nixos

Last synced: 30 days ago
JSON representation

nix-shell script to make derivations persistant, and avoid Nix garbage collection

Awesome Lists containing this project

README

          

# Persistant `nix-shell`
nix-shell script to make derivations persistant, and avoid Nix garbage collection

## Usage

`p-shell` followed by the path to the Nix shell definition. This will create a gc-root in the parent directory of the Nix shell.

**Example:**
`p-shell ~/shells/node-build.nix`

## Acknowledgments

https://github.com/NixOS/nix/issues/979