mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
python39Packages.versiontag: fix version not being set
This commit is contained in:
parent
8edb8eadeb
commit
7d7a5249d4
@ -11,6 +11,11 @@ buildPythonPackage rec {
|
||||
sha256 = "1axv2214ykgv5adajv10v2zy5fr9v77db54rkik6ja29p66zl90n";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "get_version(pypi=True)" '"${version}"'
|
||||
'';
|
||||
|
||||
checkInputs = [ git ];
|
||||
|
||||
pythonImportsCheck = [ "versiontag" ];
|
||||
|
Loading…
Reference in New Issue
Block a user