From 60fe1fed15a1759b9bc7c14ea9d39c9cb13b7855 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 24 Oct 2021 13:24:04 +0200 Subject: [PATCH] l klem module: reference grep directly --- lass/3modules/klem.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lass/3modules/klem.nix b/lass/3modules/klem.nix index a297adcd1..8536d967d 100644 --- a/lass/3modules/klem.nix +++ b/lass/3modules/klem.nix @@ -38,7 +38,7 @@ in { # match filetype against patterns ${concatMapStringsSep "\n" (script: '' ${pkgs.xclip}/bin/xclip -selection clipboard -target TARGETS -out \ - | grep -q '${script.target}' + | ${pkgs.gnugrep}/bin/grep -q '${script.target}' if [ $? -eq 0 ]; then labels="$labels:${script.label}" fi