this repo has no description

fix: add glibc to nixpkgs dependencies

+24 -22
+12 -12
.tangled/workflows/build.yml
··· 7 7 - event: ["pull_request"] 8 8 branch: ["main"] 9 9 10 - engine: "docker" 11 - image: "mambaorg/micromamba:latest" 10 + engine: "nixery" 12 11 13 12 clone: 14 13 skip: false 15 14 depth: 1 16 15 submodules: false 17 16 18 - steps: 19 - - name: "Install rattler-build" 20 - command: | 21 - micromamba install -y -c conda-forge rattler-build 17 + dependencies: 18 + nixpkgs: 19 + - rattler-build 20 + - glibc 21 + - patchelf 22 22 23 + environment: 24 + CONDA_OVERRIDE_GLIBC: "2.17" 25 + 26 + steps: 23 27 - name: "Build conda package" 24 28 command: | 25 - micromamba run -n base rattler-build build --recipe recipe/recipe.yaml --output-dir ./output 29 + rattler-build build --recipe recipe/recipe.yaml --output-dir ./output 26 30 ls -la output/*/ 27 31 28 32 - name: "Verify package" 29 33 command: | 30 - PACKAGE=$(find output -name "*.conda" -type f | head -1) 31 - if [ -z "$PACKAGE" ]; then 32 - echo "ERROR: No package found!" 33 - exit 1 34 - fi 34 + PACKAGE=$(ls output/*/*.conda | head -1) 35 35 echo "Package: $PACKAGE" 36 36 ls -la "$PACKAGE"
+12 -10
.tangled/workflows/conda-release.yml
··· 5 5 - event: ["push"] 6 6 tag: ["v*"] 7 7 8 - engine: "docker" 9 - image: "mambaorg/micromamba:latest" 8 + engine: "nixery" 10 9 11 10 clone: 12 11 skip: false 13 12 depth: 1 14 13 submodules: false 15 14 16 - steps: 17 - - name: "Install tools" 18 - command: | 19 - micromamba install -y -c conda-forge rattler-build git 15 + dependencies: 16 + nixpkgs: 17 + - rattler-build 18 + - glibc 19 + - patchelf 20 20 21 + environment: 22 + CONDA_OVERRIDE_GLIBC: "2.17" 23 + 24 + steps: 21 25 - name: "Get version from tag" 22 26 command: | 23 27 TAG=${GITEA_REF_NAME:-${GITHUB_REF_NAME:-unknown}} 24 28 echo "Building from tag: ${TAG}" 25 29 VERSION=${TAG#v} 26 30 echo "VERSION=${VERSION}" >> $GITEA_ENV 27 - echo "Package version: ${VERSION}" 28 31 29 32 - name: "Update recipe version" 30 33 command: | 31 34 TAG=${GITEA_REF_NAME:-${GITHUB_REF_NAME:-unknown}} 32 35 VERSION=${TAG#v} 33 36 sed -i "s/version: \"\"/version: \"${VERSION}\"/" recipe/recipe.release.yaml 34 - cat recipe/recipe.release.yaml 35 37 36 38 - name: "Build conda package" 37 39 command: | 38 - micromamba run -n base rattler-build build --recipe recipe/recipe.release.yaml --output-dir ./output 40 + rattler-build build --recipe recipe/recipe.release.yaml --output-dir ./output 39 41 40 42 - name: "Upload to prefix.dev" 41 43 command: | 42 - micromamba run -n base rattler-build upload prefix --channel nandi-testing output/**/*.conda 44 + rattler-build upload prefix --channel nandi-testing output/**/*.conda