From f3364ffa62bfb7b54e98f1593100cdb2f43b0c18 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 1 Feb 2025 01:43:23 +0300 Subject: [PATCH] python313Packages.changelog-chug: hack around broken sr.ht tarballs --- pkgs/development/python-modules/changelog-chug/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/changelog-chug/default.nix b/pkgs/development/python-modules/changelog-chug/default.nix index 11301d2b4190..3a08569a8441 100644 --- a/pkgs/development/python-modules/changelog-chug/default.nix +++ b/pkgs/development/python-modules/changelog-chug/default.nix @@ -21,6 +21,10 @@ buildPythonPackage rec { repo = "changelog-chug"; rev = "release/${version}"; hash = "sha256-SPwFkmRQMpdsVmzZE4mB2J9wsfvE1K21QDkOQ2XPlow="; + # HACK: sourcehut can't generate tarballs from tags with slashes properly, + # so force using git clone. + # See: https://todo.sr.ht/~sircmpwn/git.sr.ht/323 + fetchSubmodules = true; }; build-system = [