Skip to content

Commit

Permalink
pass: add find and grep as dependencies
Browse files Browse the repository at this point in the history
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

(cherry picked from commit 29e1b41)
  • Loading branch information
beardhatcode authored and Ma27 committed Dec 4, 2020
1 parent 4859b2b commit e34208e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/tools/security/pass/default.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, pkgs, fetchurl, buildEnv
, coreutils, gnused, getopt, git, tree, gnupg, openssl, which, procps
, qrencode , makeWrapper, pass, symlinkJoin
, coreutils, findutils, gnugrep, gnused, getopt, git, tree, gnupg, openssl
, which, procps , qrencode , makeWrapper, pass, symlinkJoin

, xclip ? null, xdotool ? null, dmenu ? null
, x11Support ? !stdenv.isDarwin
Expand Down Expand Up @@ -78,8 +78,10 @@ stdenv.mkDerivation rec {

wrapperPath = with stdenv.lib; makeBinPath ([
coreutils
findutils
getopt
git
gnugrep
gnupg
gnused
tree
Expand Down

0 comments on commit e34208e

Please sign in to comment.