Fix cryptography override

using `.override` creates a derivation that no longer supports `overridePythonAttrs`, so following call to `scrypto.overridePythonAttrs` fails.

using `overridePythonAttrs` makes the resulting package able to have `overridePythonAttrs` called again.
This commit is contained in:
Thomas Woolford 2022-11-04 23:38:23 +10:30 committed by GitHub
parent ef89591c71
commit a4bd44e986
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -390,7 +390,7 @@ lib.composeManyExtensions [
scrypto =
if isWheel then
(
super.cryptography.override { preferWheel = true; }
super.cryptography.overridePythonAttrs { preferWheel = true; }
) else super.cryptography;
in
scrypto.overridePythonAttrs