mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00: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
Notes:
sideshowbarker
2024-07-17 17:06:59 +09:00
Author: https://github.com/Alizter Commit: https://github.com/SerenityOS/serenity/commit/f46b393d2d Pull-request: https://github.com/SerenityOS/serenity/pull/20865 Issue: https://github.com/SerenityOS/serenity/issues/19286 Reviewed-by: https://github.com/ADKaster
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
|
||||
```
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
# For caching the entire toolchain (useful on Travis)
|
||||
Cache/
|
||||
# Nix profiles can be stored here
|
||||
nix-profiles/
|
||||
|
|
Loading…
Reference in a new issue