diff options
Diffstat (limited to 'tv/5pkgs')
-rw-r--r-- | tv/5pkgs/override/default.nix | 7 | ||||
-rw-r--r-- | tv/5pkgs/override/fzf/complete1.patch (renamed from tv/5pkgs/override/fzf.complete1.patch) | 0 | ||||
-rw-r--r-- | tv/5pkgs/override/fzf/default.nix | 9 |
3 files changed, 9 insertions, 7 deletions
diff --git a/tv/5pkgs/override/default.nix b/tv/5pkgs/override/default.nix index dc8fc5907..8a0c10872 100644 --- a/tv/5pkgs/override/default.nix +++ b/tv/5pkgs/override/default.nix @@ -1,12 +1,5 @@ with import <stockholm/lib>; 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 { src = self.fetchzip { url = "http://xu.r/~tv/mirrors/input-fonts/Input-Font-2.zip"; diff --git a/tv/5pkgs/override/fzf.complete1.patch b/tv/5pkgs/override/fzf/complete1.patch index 4b2126a2c..4b2126a2c 100644 --- a/tv/5pkgs/override/fzf.complete1.patch +++ b/tv/5pkgs/override/fzf/complete1.patch diff --git a/tv/5pkgs/override/fzf/default.nix b/tv/5pkgs/override/fzf/default.nix new file mode 100644 index 000000000..661db0ed5 --- /dev/null +++ b/tv/5pkgs/override/fzf/default.nix @@ -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 ""} + ''; +}) |