Unverified Commit f9df580d authored by Guillaume Girol's avatar Guillaume Girol Committed by GitHub
Browse files

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

passage: add missing dependency on tree(1)
parents 972b0fa8 96100e76
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
{ 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 = ''