diff --git a/Documentation/BuildInstructionsOther.md b/Documentation/BuildInstructionsOther.md index 4976e4f3d6c..c75e24d3752 100644 --- a/Documentation/BuildInstructionsOther.md +++ b/Documentation/BuildInstructionsOther.md @@ -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`. diff --git a/Toolchain/.gitignore b/Toolchain/.gitignore index b4441196e5a..0c03c2bec2a 100644 --- a/Toolchain/.gitignore +++ b/Toolchain/.gitignore @@ -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/