From 27b67c584acd37440c737c70b19926f426b87e36 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 28 Jun 2024 13:19:10 +0200 Subject: [PATCH] cpython: fix changelog anchor for beta versions --- pkgs/development/interpreters/python/cpython/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index ba97b030524a..ab5960b5ea61 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -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"