Skip to content

Commit

Permalink
Handle hash mismatch for ieee754fpu
Browse files Browse the repository at this point in the history
  • Loading branch information
albertchae committed Apr 29, 2024
1 parent e4b21a2 commit e5d072f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions pkgs/by-name/libresoc/ieee754fpu.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
python39Packages,
fetchFromGitHub,
fetchgit,
symbiyosys,
nmutil,
nmigen,
Expand All @@ -12,11 +12,14 @@ with python39Packages;
version = "unstable-2024-03-31";

# mirror of https://git.libre-soc.org/git/ieee754fpu.git
src = fetchFromGitHub {
owner = "Libre-SOC-mirrors";
repo = "ieee754fpu";
# use fetchgit instead of fetchFromGitHub so we can use the same hash across original
# upstream repo and GitHub mirror. For some reason with fetchFromGitHub, even with the
# the same rev we are getting a different hash (unlike every other mirrored repo)
src = fetchgit {
url = "https://github.com/Libre-SOC-mirrors/ieee754fpu.git";
rev = "829dfbc53ba38ec17bc544cb0b862e73cee223db"; # HEAD @ version date
hash = "sha256-Ghbvg2Y4YlmxVEa3EtcvEVai4hC4VU4q+XIQh4pQ7+c=";
hash = "";
#hash = "sha256-Ghbvg2Y4YlmxVEa3EtcvEVai4hC4VU4q+XIQh4pQ7+c=";
};

prePatch = ''
Expand Down

0 comments on commit e5d072f

Please sign in to comment.