Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Jan 2, 2025
1 parent 7b3eed7 commit 0084e9c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,16 @@ lib.composeManyExtensions [
'';
};

# remove eth-hash dependency because eth-hash also depends on eth-utils causing a cycle.
eth-utils = prev.eth-utils.overridePythonAttrs (old: {
propagatedBuildInputs =
builtins.filter (i: i.pname != "eth-hash") old.propagatedBuildInputs;
preConfigure = ''
${old.preConfigure or ""}
sed -i '/eth-hash/d' setup.py
'';
});

evdev = prev.evdev.overridePythonAttrs (_old: {
preConfigure = ''
substituteInPlace setup.py --replace-warn /usr/include/linux ${pkgs.linuxHeaders}/include/linux
Expand Down

0 comments on commit 0084e9c

Please sign in to comment.