Skip to content

Commit

Permalink
Merge pull request #133 from lsst/tickets/DM-28511
Browse files Browse the repository at this point in the history
DM-28511: Add defaults channel.
  • Loading branch information
ktlim committed Jan 27, 2021
2 parents 1d9a823 + aadf16b commit 126742d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/newinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ LSST_MINICONDA_VERSION=${LSST_MINICONDA_VERSION:-py38_4.9.2}
# the default conda env defined in scipipe_conda_env git package (RFC-553).
LSST_SPLENV_REF=${LSST_SPLENV_REF:-${LSST_LSSTSW_REF:-0.1.5}}
LSST_MINICONDA_BASE_URL=${LSST_MINICONDA_BASE_URL:-https://repo.continuum.io/miniconda}
LSST_CONDA_CHANNELS=${LSST_CONDA_CHANNELS:-"conda-forge"}
LSST_CONDA_CHANNELS=${LSST_CONDA_CHANNELS:-"conda-forge defaults"}
LSST_CONDA_ENV_NAME=${LSST_CONDA_ENV_NAME:-lsst-scipipe-${LSST_SPLENV_REF}}
LSST_USE_CONDA_SYSTEM=${LSST_USE_CONDA_SYSTEM:-true}

Expand Down Expand Up @@ -494,7 +494,9 @@ n8l::miniconda::lsst_env() {
args+=("--quiet")
fi

args+=("-c conda-forge")
for c in $conda_channels; do
args+=("-c $c")
done
args+=("rubin-env=${ref}")

$cmd conda "${args[@]}"
Expand Down

0 comments on commit 126742d

Please sign in to comment.