Skip to content

Commit

Permalink
Append rather than add build channels
Browse files Browse the repository at this point in the history
Append rather than add build channels (e.g. conda-forge) so that their
precedence is lower than defaults.
  • Loading branch information
Keith James committed Oct 1, 2020
1 parent 65f026f commit 2b778de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/bin/build
Expand Up @@ -143,7 +143,7 @@ for line in sys.stdin.readlines():

for c in args.build_channel:
log.info("Adding build channel {}".format(c))
build_script += "conda config --add channels {} ; ".format(c)
build_script += "conda config --append channels {} ; ".format(c)

build_script += \
'cd "{}" && conda build {}'.format(args.recipes_mount, path)
Expand Down

0 comments on commit 2b778de

Please sign in to comment.