forked from M-Labs/artiq
1
0
Fork 0

nix: work around lack of PYTHON environment variable in conda build

This commit is contained in:
Sebastien Bourdeauducq 2019-02-08 15:50:24 +08:00
parent 744ef03fa1
commit 306d9cf5d0
1 changed files with 5 additions and 1 deletions

View File

@ -54,8 +54,12 @@ in stdenv.mkDerivation {
cat << EOF > clobber.yaml
requirements:
build:
build:
script_env:
- PYTHON
EOF
mkdir $out
${condaBuilderEnv}/bin/conda-builder-env -c "conda build --clobber-file clobber.yaml --no-anaconda-upload --no-test --output-folder $out $src/conda/artiq"
${condaBuilderEnv}/bin/conda-builder-env -c "PYTHON=python conda build --clobber-file clobber.yaml --no-anaconda-upload --no-test --output-folder $out $src/conda/artiq"
'';
}