summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-10-24 13:24:04 +0200
committerlassulus <lassulus@lassul.us>2021-10-24 13:24:04 +0200
commit60fe1fed15a1759b9bc7c14ea9d39c9cb13b7855 (patch)
treec0f348cf5df417daf7bf9f1c4c52d0ec187584f9
parenta1855823dec36034ba3eb7e6350dbd7496d2b93b (diff)
l klem module: reference grep directly
-rw-r--r--lass/3modules/klem.nix2
1 files changed, 1 insertions, 1 deletions
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