Skip to content

Commit 96100e7

Browse files
author
Dmitry Bogatov
committed
passage: add missing dependency on tree(1)
Dependency on tree(1) is used to pretty-print list of all stored passwords. Techically, is not needed to fetch or store password by its name, but without it "passage" without arguments would print error.
1 parent ebe3069 commit 96100e7

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

pkgs/tools/security/passage/default.nix

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
{ lib, stdenv, fetchFromGitHub, makeBinaryWrapper, bash, age, git ? null
2-
, xclip ? null }:
1+
{ lib
2+
, stdenv
3+
, fetchFromGitHub
4+
, makeBinaryWrapper
5+
, bash
6+
, age
7+
, git ? null
8+
, xclip ? null
9+
# Used to pretty-print list of all stored passwords, but is not needed to fetch
10+
# or store password by its name. Most users would want this dependency.
11+
, tree ? null
12+
}:
313

414
stdenv.mkDerivation {
515
pname = "passage";
@@ -14,7 +24,7 @@ stdenv.mkDerivation {
1424

1525
nativeBuildInputs = [ makeBinaryWrapper ];
1626

17-
extraPath = lib.makeBinPath [ age git xclip ];
27+
extraPath = lib.makeBinPath [ age git xclip tree ];
1828

1929
# Using $0 is bad, it causes --help to mention ".passage-wrapped".
2030
postInstall = ''

0 commit comments

Comments
 (0)