Merge pull request #221746 from KAction/contrib/0/passage-tree/out

passage: add missing dependency on tree(1)
This commit is contained in:
Guillaume Girol 2023-03-26 16:52:14 +00:00 committed by GitHub
commit f9df580dc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,15 @@
{ lib, stdenv, fetchFromGitHub, makeBinaryWrapper, bash, age, git ? null
, xclip ? null }:
{ lib
, stdenv
, fetchFromGitHub
, makeBinaryWrapper
, bash
, age
, git ? null
, xclip ? null
# Used to pretty-print list of all stored passwords, but is not needed to fetch
# or store password by its name. Most users would want this dependency.
, tree ? null
}:
stdenv.mkDerivation {
pname = "passage";
@ -14,7 +24,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeBinaryWrapper ];
extraPath = lib.makeBinPath [ age git xclip ];
extraPath = lib.makeBinPath [ age git xclip tree ];
# Using $0 is bad, it causes --help to mention ".passage-wrapped".
postInstall = ''