47 lines
1.5 KiB
Nix
47 lines
1.5 KiB
Nix
let
|
|
tools = import ./lib/tools.nix;
|
|
patch' = super: tools.patch super "patches/base/${super.pname}";
|
|
in with tools;
|
|
super: rec {
|
|
ddcci-driver-with-global-control = patch super.linuxPackages.ddcci-driver "patches/kmods/ddcci-driver";
|
|
|
|
doas-interactive = patch-rename super.doas "doas-interactive" "patches/base/doas";
|
|
|
|
kubo = patch super.kubo "patches/base/ipfs";
|
|
|
|
gnome-control-center = patch' super.gnome.gnome-control-center;
|
|
|
|
libfprint = (patch' super.libfprint).overrideAttrs (old: {
|
|
buildInputs = old.buildInputs ++ [
|
|
super.openssl
|
|
];
|
|
});
|
|
|
|
fprintd = super.fprintd.override { inherit libfprint; };
|
|
|
|
nautilus = (patch' super.gnome.nautilus).overrideAttrs (attrs: {
|
|
preFixup = with super;
|
|
let py = (python3.withPackages (ps: with ps; [ ps.pygobject3 ]));
|
|
in attrs.preFixup + ''
|
|
gappsWrapperArgs+=(
|
|
--prefix PYTHONPATH : ${py}/${py.sitePackages}
|
|
)
|
|
'';
|
|
});
|
|
|
|
terminus_font_fancy = super.terminus_font.overrideAttrs (attrs: {
|
|
patches = (attrs.patches or [ ]) ++ [ "alt/td1.diff" "alt/ll2.diff" ];
|
|
});
|
|
|
|
nerdfonts-terminus = super.nerdfonts.override { fonts = [ "Terminus" ]; };
|
|
|
|
vte-high-refresh-rate = patch' super.vte;
|
|
|
|
vte-gtk4-high-refresh-rate = patch' super.vte-gtk4;
|
|
|
|
tilix-high-refresh-rate = super.tilix.override { gtkd = super.gtkd.override { vte = vte-high-refresh-rate; }; };
|
|
|
|
blackbox-high-refresh-rate = super.blackbox-terminal.override { vte-gtk4 = vte-gtk4-high-refresh-rate; };
|
|
|
|
textpieces = patch' (super.textpieces.overrideAttrs { meta.broken = false; });
|
|
}
|