And you may ask yourself "how do i work this?" And you may ask yourself "where is that transitive dependency?" And you may tell yourself "this is not my beautiful code" And you may tell yourself "this is not my beautiful test"
...
And you may say to yourself "my god what have i done?"
(i updated nixpkgs unstable channel)
Calibre is one of the Applications I Use, and this quick overlay hack will get My NixOS configuration building again. an
When building apsw as a dependency of calibre (which overrides some attrs, context below), build tests fail.
Of course it's a pytest 6->7 breakage... upstream has a fix that we overlay in
,#+ARROYO_NIXOS_MODULE: nixos/fix-calibre-apsw.nix
{ ... }:
{
nixpkgs.overlays = [
(overlayFinal: overlayPrev:
{
calibre = overlayPrev.calibre.override {
python3Packages = overlayPrev.python3Packages.overrideScope (orig: old: { # remove after #168071 is merged
apsw = old.apsw.overrideAttrs (old: {
version = "3.38.1-r1";
sha256 = "sha256-pbb6wCu1T1mPlgoydB1Y1AKv+kToGkdVUjiom2vTqf4=";
checkInputs = [];
});
});
};
}
)
];
}