mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 04:27:27 +03:00
cpython: fix changelog anchor for beta versions
This commit is contained in:
parent
89551eddb7
commit
27b67c584a
@ -658,7 +658,7 @@ in with passthru; stdenv.mkDerivation (finalAttrs: {
|
||||
homepage = "https://www.python.org";
|
||||
changelog = let
|
||||
majorMinor = versions.majorMinor version;
|
||||
dashedVersion = replaceStrings [ "." "a" ] [ "-" "-alpha-" ] version;
|
||||
dashedVersion = replaceStrings [ "." "a" "b" ] [ "-" "-alpha-" "-beta-" ] version;
|
||||
in
|
||||
if sourceVersion.suffix == "" then
|
||||
"https://docs.python.org/release/${version}/whatsnew/changelog.html"
|
||||
|
Loading…
Reference in New Issue
Block a user