diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2024-06-24 14:25:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 14:25:35 +0200 |
commit | 4cc2ade958e237ed32f5d67a25377084ac8f108b (patch) | |
tree | 44bc62981d7a083ba589a209c1bc0df12d1806ea /pkgs/development | |
parent | 2cf0557e9c5246fd943b9eef6afc89af76e1f7da (diff) | |
parent | 54dfcae99bb8e57ae46c43e81607315e8228bd04 (diff) |
Merge pull request #321796 from tpwrules/pr/amaranth-hash-stability-master
python3Packages.amaranth-boards: fix fetchFromGitHub hash stability
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/amaranth-boards/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/amaranth-boards/default.nix b/pkgs/development/python-modules/amaranth-boards/default.nix index 3e9548bfe5b61..a010d3570b7cb 100644 --- a/pkgs/development/python-modules/amaranth-boards/default.nix +++ b/pkgs/development/python-modules/amaranth-boards/default.nix @@ -19,7 +19,9 @@ buildPythonPackage rec { owner = "amaranth-lang"; repo = "amaranth-boards"; rev = "aba2300dc83216523e1c98fdb22471cb4bac5027"; - hash = "sha256-IMhNMkOf6dg4Djyi39TDTpU0S3TQM1+e6TBoyiITaos="; + # these files change depending on git branch status + postFetch = "rm -f $out/.git_archival.txt $out/.gitattributes"; + hash = "sha256-jldXyMJtuSGcZKmtwpZBYrR/UBe4ufblPYRYpBmReM8="; }; nativeBuildInputs = [ |