2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

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

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"
'';
}