diff --git a/recipes/d4binding/build.sh b/recipes/d4binding/build.sh index b76d698a699f3..463bbbe302d53 100644 --- a/recipes/d4binding/build.sh +++ b/recipes/d4binding/build.sh @@ -2,7 +2,13 @@ set -x +# TODO: Remove the following export when pinning is updated and we use +# {{ compiler('rust') }} in the recipe. +export \ + CARGO_NET_GIT_FETCH_WITH_CLI=true \ + CARGO_HOME="${BUILD_PREFIX}/.cargo" + cp $RECIPE_DIR/build_htslib.sh d4-hts/build_htslib.sh cd d4binding -./install.sh PREFIX="${PREFIX}" +./install.sh diff --git a/recipes/d4binding/meta.yaml b/recipes/d4binding/meta.yaml index 4113cf05e7a61..a5507dd7ca35d 100644 --- a/recipes/d4binding/meta.yaml +++ b/recipes/d4binding/meta.yaml @@ -18,7 +18,7 @@ requirements: build: - {{ compiler('c') }} - {{ compiler('cxx') }} - - {{ compiler('rust') }} + - rust >=1.30 - gcc # [not osx] - clangdev - pkg-config