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:
parent
744ef03fa1
commit
306d9cf5d0
@ -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"
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user