pass: add find and grep as dependencies

When pass is called from passff it does not have grep and find in its
path.

PATH="" /home/beardhatcode/.nix-profile/bin/pass grep lol                                             ~
/nix/store/HASH-password-store-1.7.3/bin/.pass-wrapped: line 399: find: command not found

$ PATH="/nix/store/HASH-findutils-4.7.0/bin" /home/beardhatcode/.nix-profile/bin/pass grep lol
/nix/store/HASH-password-store-1.7.3/bin/.pass-wrapped: line 403: grep: command not found
/nix/store/HASH-password-store-1.7.3/bin/.pass-wrapped: line 403: grep: command not found
This commit is contained in:
Robbert Gurdeep Singh 2020-12-04 11:26:40 +01:00
parent a2cc15a0f4
commit 29e1b41301

View File

@ -1,6 +1,6 @@
{ stdenv, lib, pkgs, fetchurl, buildEnv { stdenv, lib, pkgs, fetchurl, buildEnv
, coreutils, gnused, getopt, git, tree, gnupg, openssl, which, procps , coreutils, findutils, gnugrep, gnused, getopt, git, tree, gnupg, openssl
, qrencode , makeWrapper, pass, symlinkJoin , which, procps , qrencode , makeWrapper, pass, symlinkJoin
, xclip ? null, xdotool ? null, dmenu ? null , xclip ? null, xdotool ? null, dmenu ? null
, x11Support ? !stdenv.isDarwin , dmenuSupport ? x11Support , x11Support ? !stdenv.isDarwin , dmenuSupport ? x11Support
@ -80,8 +80,10 @@ stdenv.mkDerivation rec {
wrapperPath = with stdenv.lib; makeBinPath ([ wrapperPath = with stdenv.lib; makeBinPath ([
coreutils coreutils
findutils
getopt getopt
git git
gnugrep
gnupg gnupg
gnused gnused
tree tree