summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-03-05 09:00:16 +0100
committertv <tv@krebsco.de>2022-03-05 11:09:20 +0100
commitb7f21925de63a03eec47aa42e206d0a5cdb82f2d (patch)
tree276f1f660e7fe0a11ee93cbaec5af0419437c66f
parent34f290f69e9f96e5bf27a8c4c9d354f9e88c515c (diff)
tv pkgs: move fzf to override
-rw-r--r--tv/5pkgs/override/default.nix7
-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.nix9
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 ""}
+ '';
+})