tsm-client: add gnugrep to PATH

While testing the new version, I observed that
`dsmc` prints an error "sh: grep: command not found"
when executed with empty PATH.
Apparently, `dsmc` needs `grep` in its PATH.
This commit is contained in:
Yarny0
2022-01-17 12:09:26 +01:00
parent 6e157a481a
commit ce6eea6002
+2 -1
View File
@@ -3,6 +3,7 @@
, autoPatchelfHook
, buildEnv
, fetchurl
, gnugrep
, makeWrapper
, procps
, zlib
@@ -158,7 +159,7 @@ buildEnv {
target=$(readlink "$bin")
rm "$bin"
makeWrapper "$target" "$bin" \
--prefix PATH : "$out/dsm_dir:${lib.strings.makeBinPath [ procps acl jdk8 ]}" \
--prefix PATH : "$out/dsm_dir:${lib.makeBinPath [ procps gnugrep acl jdk8 ]}" \
--set DSM_DIR $out/dsm_dir
done
'';