mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
Toolchain: Add Toolchain/nix-profiles/ to .gitignore
Let users save their nix develop derivation in a profile by ignoring this specific folder. It encourages the following workflow: ``` nix develop Toolchain/ --profile Toolchain/nix-profiles/dev ``` Which stops the dev enviornment being collected in the nix store. Later devs can come back and do: ``` nix develop Toolchain/nix-profiles/dev ``` To continue where they left off, without having to download everything from nixpkgs again.
This commit is contained in:
parent
0124d731ce
commit
f46b393d2d
2 changed files with 14 additions and 0 deletions
|
@ -39,6 +39,18 @@ or you can use the nix flake [`Toolchain/flake.nix`](../Toolchain/serenity.nix)
|
||||||
nix develop Toolchain
|
nix develop Toolchain
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can also save this environment to a profile:
|
||||||
|
|
||||||
|
```
|
||||||
|
nix develop Toolchain --profile Toolchain/nix-profiles/dev
|
||||||
|
```
|
||||||
|
|
||||||
|
and resume later with:
|
||||||
|
|
||||||
|
```
|
||||||
|
nix develop Toolchain/nix-profiles/dev
|
||||||
|
```
|
||||||
|
|
||||||
## Alpine Linux
|
## Alpine Linux
|
||||||
|
|
||||||
First, make sure you have enabled the `community` repository in `/etc/apk/repositories` and run `apk update`. It has been tested on `edge`, YMMV on `stable`.
|
First, make sure you have enabled the `community` repository in `/etc/apk/repositories` and run `apk update`. It has been tested on `edge`, YMMV on `stable`.
|
||||||
|
|
2
Toolchain/.gitignore
vendored
2
Toolchain/.gitignore
vendored
|
@ -3,3 +3,5 @@ config-temp
|
||||||
config.log
|
config.log
|
||||||
# For caching the entire toolchain (useful on Travis)
|
# For caching the entire toolchain (useful on Travis)
|
||||||
Cache/
|
Cache/
|
||||||
|
# Nix profiles can be stored here
|
||||||
|
nix-profiles/
|
||||||
|
|
Loading…
Reference in a new issue