Merge pull request #1176 from asymmetric/eth-utils

eth-utils: prefer wheel
This commit is contained in:
Jörg Thalheim 2023-06-06 16:59:40 +01:00 committed by GitHub
commit 418a08ae7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -617,15 +617,8 @@ lib.composeManyExtensions [
'';
};
# remove eth-hash dependency because eth-hash also depends on eth-utils causing a cycle.
eth-utils = super.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
'';
});
# FIXME: this is a workaround for https://github.com/nix-community/poetry2nix/issues/1161
eth-utils = super.eth-utils.override { preferWheel = true; };
evdev = super.evdev.overridePythonAttrs (old: {
preConfigure = ''