Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions examples/protected_base/construct.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# yaml-language-server: $schema=../../constructor/data/construct.schema.json
"$schema": "../../constructor/data/construct.schema.json"

name: ProtectedBaseEnv
version: X
installer_type: all

channels:
- conda-forge

specs:
- python=3.10
- conda
- conda-self
- miniforge_console_shortcut # [win]

extra_envs:
default:
specs:
- python=3.10
- pip

write_condarc: true
condarc:
channels:
- conda-forge
default_activation_env: default

extra_files:
- frozen.json: conda-meta/frozen
3 changes: 3 additions & 0 deletions examples/protected_base/frozen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"message": "You shall not edit your `base` environment! Use `conda self` if you must."
}
Loading