python310Packages.keyring: fix cross compilation
This commit is contained in:
parent
5c758df032
commit
436760a592
|
@ -18,10 +18,15 @@
|
||||||
keyring = (pySuper.keyring.override {
|
keyring = (pySuper.keyring.override {
|
||||||
secretstorage = null;
|
secretstorage = null;
|
||||||
jeepney = null;
|
jeepney = null;
|
||||||
|
# separate from `cryptography`: jaraco-classes doesn't cross compile
|
||||||
|
# but it looks like `keyring` has some _temporary_ fallback logic for
|
||||||
|
# when jaraco-classes isn't installed (i.e. may break in future).
|
||||||
|
jaraco-classes = null;
|
||||||
}).overrideAttrs (upstream: {
|
}).overrideAttrs (upstream: {
|
||||||
postPatch = (upstream.postPatch or "") + ''
|
postPatch = (upstream.postPatch or "") + ''
|
||||||
sed -i /SecretStorage/d setup.cfg
|
sed -i /SecretStorage/d setup.cfg
|
||||||
sed -i /jeepney/d setup.cfg
|
sed -i /jeepney/d setup.cfg
|
||||||
|
sed -i /jaraco.classes/d setup.cfg
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user