about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2024-06-25 00:14:32 +0000
committerGitHub <noreply@github.com>2024-06-25 00:14:32 +0000
commit7e9ed73a69a217705cd76fde14a79962ba889d46 (patch)
treeb2d719d7f6b7ed4d7066ff97f7475bd6e8fc7851 /pkgs
parentd86b7e9916571f48160c1cac1a2c89a6514b5ee5 (diff)
parent8f54d3b8e3f6e18336ede9a389894acb0695f825 (diff)
Merge staging-next-23.11 into staging-23.11
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/amaranth-soc/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/amaranth-soc/default.nix b/pkgs/development/python-modules/amaranth-soc/default.nix
index 685d63414ec5a..af584d228f28b 100644
--- a/pkgs/development/python-modules/amaranth-soc/default.nix
+++ b/pkgs/development/python-modules/amaranth-soc/default.nix
@@ -16,7 +16,9 @@ buildPythonPackage rec {
     owner = "amaranth-lang";
     repo = "amaranth-soc";
     rev = "cce8a79a37498f4d5900be21a295ba77e51e6c9d";
-    sha256 = "sha256-hfkJaqICuy3iSTwLM9lbUPvSMDBLW8GdxqswyAOsowo=";
+    # these files change depending on git branch status
+    postFetch = "rm -f $out/.git_archival.txt $out/.gitattributes";
+    sha256 = "sha256-QElpfjlBsOmUk9i6sRPvf3GEvDLssKUjgfFfsabiCTI=";
   };
 
   nativeBuildInputs = [ setuptools-scm ];