From f722be9daf5937778b6923705b1c51f9521ea4c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 24 Aug 2026 08:35:13 +0200 Subject: [PATCH] python3Packages.ansible-compat: improve source reproducibility --- pkgs/development/python-modules/ansible-compat/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/ansible-compat/default.nix b/pkgs/development/python-modules/ansible-compat/default.nix index 8a8f55e7ef7a..b3cfec2cd671 100644 --- a/pkgs/development/python-modules/ansible-compat/default.nix +++ b/pkgs/development/python-modules/ansible-compat/default.nix @@ -30,7 +30,11 @@ buildPythonPackage rec { owner = "ansible"; repo = "ansible-compat"; tag = "v${version}"; - hash = "sha256-QTn1W+XxiK5ZCkUfYJZrI/mk0gFduTWClIH3ztHcerg="; + postFetch = '' + # export-subst prevents reproducibility + rm $out/.git_archival.txt + ''; + hash = "sha256-12t/iLtha5FACVpXFqrz6vIiVmtHPPqdfHogXuAe2F4="; }; build-system = [