Commit Graph

5 Commits

Author SHA1 Message Date
figsoda
f97ce0a9a8 pkgs/tools/security: remove dead code
with the help of deadnix & nil
2023-07-12 14:35:00 -04:00
phaer
07f072968c passage: fix getopt path on darwin
Not entirely sure what was wrong about the former approach tbh, but
the difference is that this patch actually replaces the placeholder
in the patch and builds a working executable on my m2 macbook air.
2023-07-04 12:26:31 +02:00
Paul Haerle
f3a2296445
passage: use getopt from nix on darwin (#241293)
* passage: use getopt from nix on darwin

This removes an ugly hack from upstream which hard-codes a bunch of
paths to find gnu-getopt (as opposed to darwins getopt in
/usr/bin/getopt).

This lets nix-built passage fail on systems which don't have one of
those already installed (i.e. from homebrew).

As upstream seemingly doesn't provide a way to override this easily yet,
we do it ourselves.

---------

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-07-04 10:14:55 +03:00
Dmitry Bogatov
96100e7675 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.
2023-03-17 21:39:18 -04:00
Dmitry Bogatov
64da60d311 passage: init at unstable-2022-05-01 2022-05-29 00:19:34 -04:00