tv pkgs: move fzf to override

This commit is contained in:
tv 2022-03-05 09:00:16 +01:00
parent 34f290f69e
commit b7f21925de
3 changed files with 9 additions and 7 deletions

View File

@ -1,12 +1,5 @@
with import <stockholm/lib>; with import <stockholm/lib>;
self: super: { self: super: {
fzf = super.fzf.overrideAttrs (old: {
# XXX cannot use `patches` because fzf has a custom patchPhase
patchPhase = ''
patch -Np1 < ${./fzf.complete1.patch}
${old.patchPhase or ""}
'';
});
input-fonts = super.input-fonts.overrideAttrs (old: rec { input-fonts = super.input-fonts.overrideAttrs (old: rec {
src = self.fetchzip { src = self.fetchzip {
url = "http://xu.r/~tv/mirrors/input-fonts/Input-Font-2.zip"; url = "http://xu.r/~tv/mirrors/input-fonts/Input-Font-2.zip";

View File

@ -0,0 +1,9 @@
self: super:
super.fzf.overrideAttrs (old: {
# XXX cannot use `patches` because fzf has a custom patchPhase
patchPhase = ''
patch -Np1 < ${./complete1.patch}
${old.patchPhase or ""}
'';
})