From 4a31be59b8731c13405f38a76904662a2c344203 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 16 Jun 2020 21:42:35 +0200 Subject: fzfmenu: selectively override FZF_DEFAULT_OPTS --- krebs/5pkgs/simple/fzfmenu/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'krebs') diff --git a/krebs/5pkgs/simple/fzfmenu/default.nix b/krebs/5pkgs/simple/fzfmenu/default.nix index 76235ddbd..537b90f42 100644 --- a/krebs/5pkgs/simple/fzfmenu/default.nix +++ b/krebs/5pkgs/simple/fzfmenu/default.nix @@ -83,8 +83,8 @@ pkgs.writeDashBin "fzfmenu" '' esac done - FZF_DEFAULT_OPTS=''${FZFMENU_FZF_DEFAULT_OPTS-} - if test -n "$FZF_DEFAULT_OPTS"; then + if test -n "''${FZFMENU_FZF_DEFAULT_OPTS-}"; then + FZF_DEFAULT_OPTS=''${FZFMENU_FZF_DEFAULT_OPTS-} export FZF_DEFAULT_OPTS fi -- cgit v1.2.3