Colin
d41d802d83
``` • Updated input 'nixpkgs-unpatched': 'github:nixos/nixpkgs/e528fa15d5f740a25b5f536c33932db64cb10fc8' (2023-08-09) → 'github:nixos/nixpkgs/ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e' (2023-08-10) ```
30 lines
1.1 KiB
Nix
30 lines
1.1 KiB
Nix
# personal preferences
|
|
# prefer to encode these in `sane.programs`
|
|
# resort to this method for e.g. system dependencies, or things which are referenced from too many places.
|
|
(next: prev: {
|
|
pipewire = prev.pipewire.override {
|
|
# avoid a dep on python3.10-PyQt5, which has mixed qt5 versions.
|
|
# this means we lose firewire support (oh well..?)
|
|
ffadoSupport = false;
|
|
};
|
|
|
|
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
|
|
(pySelf: pySuper: {
|
|
# TODO(2023/08/02): cryptography (a dependency of komikku -> keyring -> secretstorage -> cryptography) doesn't cross compile
|
|
# so disable it. can be re-enabled in next staging -> master merge.
|
|
# see:
|
|
# - <https://github.com/NixOS/nixpkgs/pull/245287/files>
|
|
# - <https://github.com/NixOS/nixpkgs/pull/244135>
|
|
keyring = (pySuper.keyring.override {
|
|
secretstorage = null;
|
|
jeepney = null;
|
|
}).overrideAttrs (upstream: {
|
|
postPatch = (upstream.postPatch or "") + ''
|
|
sed -i /SecretStorage/d setup.cfg
|
|
sed -i /jeepney/d setup.cfg
|
|
'';
|
|
});
|
|
})
|
|
];
|
|
})
|