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
- Host: GitHub
- URL: https://github.com/benschza/persistant-nix-shell
- Owner: BenSchZA
- Created: 2019-07-29T09:41:41.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-30T17:40:23.000Z (about 6 years ago)
- Last Synced: 2025-04-11T22:54:46.634Z (6 months ago)
- Topics: nix, nixos
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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