summaryrefslogtreecommitdiffstats
path: root/pkgs/simple/bash-fzf-history.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-09-18 15:06:50 +0200
committertv <tv@krebsco.de>2023-09-18 15:06:50 +0200
commit5928a25ad10c0e463732ba4959e2e2b5a742166a (patch)
treef2e520deaec0bd25523cb53dfcc61a29ed72be31 /pkgs/simple/bash-fzf-history.nix
parent0c4f3acb281be6290c55a6e96bc29fab5b5c7a11 (diff)
pkgs: propagate mylib
Diffstat (limited to 'pkgs/simple/bash-fzf-history.nix')
-rw-r--r--pkgs/simple/bash-fzf-history.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/simple/bash-fzf-history.nix b/pkgs/simple/bash-fzf-history.nix
index f35d5e8..50f102c 100644
--- a/pkgs/simple/bash-fzf-history.nix
+++ b/pkgs/simple/bash-fzf-history.nix
@@ -1,4 +1,5 @@
{ lib
+, mylib
, pkgs
, edit-key ? "ctrl-e"
@@ -15,10 +16,6 @@
, load-keyseq ? start-keyseq
}: let
- mylib = import ../../lib/pure.nix {
- inherit lib;
- };
-
script = pkgs.writeBash "bash-fzf-history.sh" ''
if ! command -v fzf >/dev/null; then
# Alternatively rewrite ${pkgs.fzf}/share/fzf/* to use absolute paths.