From 29e1b413015286f077dcfaf2359993319ddd394f Mon Sep 17 00:00:00 2001 From: Robbert Gurdeep Singh Date: Fri, 4 Dec 2020 11:26:40 +0100 Subject: [PATCH] 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 --- pkgs/tools/security/pass/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/pass/default.nix b/pkgs/tools/security/pass/default.nix index 9ba03fc74a2..9e934810501 100644 --- a/pkgs/tools/security/pass/default.nix +++ b/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 , dmenuSupport ? x11Support @@ -80,8 +80,10 @@ stdenv.mkDerivation rec { wrapperPath = with stdenv.lib; makeBinPath ([ coreutils + findutils getopt git + gnugrep gnupg gnused tree