Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pdm-backend / setup-hook.sh
blobc8b2fda6d99acb84f8f265aba8e8229a3dc50187
1 pdm-version-pretend-hook() {
2 if [ -z "${PDM_BUILD_SCM_VERSION-}" ]; then
3 echo "Setting PDM_BUILD_SCM_VERSION to $version"
4 export PDM_BUILD_SCM_VERSION="$version"
5 fi
8 if [ -z "${dontSetPdmBackendVersion-}" ]; then
9 preBuildHooks+=(pdm-version-pretend-hook)