23 lines
712 B
Nix
23 lines
712 B
Nix
self: super: {
|
|
sane-backends-old = super.sane-backends;
|
|
sane-backends =
|
|
(super.sane-backends.override {
|
|
extraFirmware = [
|
|
{
|
|
src = super.fetchurl {
|
|
url = "www.meier-geinitz.de/sane/gt68xx-backend/firmware/sbfw.usb";
|
|
sha256 = "12hnacivpy153alfjyr7k92y90nmb5d7z1ca7aix5w7wi0w4jdjv";
|
|
};
|
|
name = "sbfw.usb";
|
|
backend = "gt68xx";
|
|
}
|
|
];
|
|
})
|
|
.overrideAttrs (old: {
|
|
patches = (old.patches or []) ++ [../patches/gt68xx.conf.patch];
|
|
});
|
|
libreoffice-fresh = super.lib.recursiveUpdate super.libreoffice-fresh (super.libreoffice-fresh.libreoffice.override {
|
|
sane-backends = self.sane-backends-old;
|
|
});
|
|
}
|