diff --git a/examples/protected_base/construct.yaml b/examples/protected_base/construct.yaml new file mode 100644 index 000000000..87afd7509 --- /dev/null +++ b/examples/protected_base/construct.yaml @@ -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 diff --git a/examples/protected_base/frozen.json b/examples/protected_base/frozen.json new file mode 100644 index 000000000..e5a13bd4b --- /dev/null +++ b/examples/protected_base/frozen.json @@ -0,0 +1,3 @@ +{ + "message": "You shall not edit your `base` environment! Use `conda self` if you must." +}