diff options
author | Yarny0 <41838844+Yarny0@users.noreply.github.com> | 2021-09-18 10:08:29 +0200 |
---|---|---|
committer | Yarny0 <41838844+Yarny0@users.noreply.github.com> | 2022-01-17 12:09:26 +0100 |
commit | ce6eea6002704b5a2285fb7800e247e3e0946f6c (patch) | |
tree | 94b5e357c7a5f6673484f644e8e991b29cd1ad3b /pkgs/tools/backup | |
parent | 6e157a481a7bd03ac6bbeb86847f4d593ed0a854 (diff) | |
download | nixpkgs-ce6eea6002704b5a2285fb7800e247e3e0946f6c.tar nixpkgs-ce6eea6002704b5a2285fb7800e247e3e0946f6c.tar.gz nixpkgs-ce6eea6002704b5a2285fb7800e247e3e0946f6c.tar.bz2 nixpkgs-ce6eea6002704b5a2285fb7800e247e3e0946f6c.tar.lz nixpkgs-ce6eea6002704b5a2285fb7800e247e3e0946f6c.tar.xz nixpkgs-ce6eea6002704b5a2285fb7800e247e3e0946f6c.tar.zst nixpkgs-ce6eea6002704b5a2285fb7800e247e3e0946f6c.zip |
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.
Diffstat (limited to 'pkgs/tools/backup')
-rw-r--r-- | pkgs/tools/backup/tsm-client/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/backup/tsm-client/default.nix b/pkgs/tools/backup/tsm-client/default.nix index 9e0e5e3a606..e1f5055b221 100644 --- a/pkgs/tools/backup/tsm-client/default.nix +++ b/pkgs/tools/backup/tsm-client/default.nix @@ -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 ''; |