https://github.com/haozeke/nixcarp
A repository for derivations to be used to sanitize environments before teaching a carpentries workshop.
https://github.com/haozeke/nixcarp
carpentries git helpers nix
Last synced: about 1 month ago
JSON representation
A repository for derivations to be used to sanitize environments before teaching a carpentries workshop.
- Host: GitHub
- URL: https://github.com/haozeke/nixcarp
- Owner: HaoZeke
- License: mit
- Created: 2019-10-07T07:10:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-07T07:27:58.000Z (over 5 years ago)
- Last Synced: 2025-02-01T08:41:25.235Z (3 months ago)
- Topics: carpentries, git, helpers, nix
- Language: Nix
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# About
I worry about using my own configuration for teaching carpentries
workshops. So I set up my own little nix derivation to contain only what
most other participants will have.# Usage
Assuming you have nix all set and ready, simply run the following:
```bash
nix-shell myCarpShell.nix --run "bash -l"
```
The `-l` flag ensures that the user's `$HOME/.bashrc` is not sourced. Typically this is a better default as most people do not modify `/etc/profile` which is a good thing.