mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 03:23:17 +00:00
f71d4911cc
to not so dynamically set the package version.
9 lines
240 B
Bash
9 lines
240 B
Bash
version-pretend-hook() {
|
|
echo "Setting POETRY_DYNAMIC_VERSIONING_BYPASS to $version"
|
|
export POETRY_DYNAMIC_VERSIONING_BYPASS=$version
|
|
}
|
|
|
|
if [ -z "${dontBypassPoetryDynamicVersioning-}" ]; then
|
|
preBuildHooks+=(version-pretend-hook)
|
|
fi
|