Skip to content

Commit

Permalink
Merge pull request #276987 from NixOS/backport-276704-to-release-23.11
Browse files Browse the repository at this point in the history
[Backport release-23.11] passage: add additional deps to wrapper
  • Loading branch information
Ma27 authored Dec 27, 2023
2 parents 9fc0de7 + 5911817 commit 473ed42
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions pkgs/tools/security/passage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
, substituteAll
, age
, getopt
, coreutils
, findutils
, gnugrep
, gnused
, qrencode ? null
, wl-clipboard ? null
, git ? null
, xclip ? null
# Used to pretty-print list of all stored passwords, but is not needed to fetch
Expand Down Expand Up @@ -32,7 +38,18 @@ stdenv.mkDerivation {

nativeBuildInputs = [ makeBinaryWrapper ];

extraPath = lib.makeBinPath [ age git xclip tree ];
extraPath = lib.makeBinPath [
age
coreutils
findutils
git
gnugrep
gnused
qrencode
tree
wl-clipboard
xclip
];

# Using $0 is bad, it causes --help to mention ".passage-wrapped".
postInstall = ''
Expand All @@ -46,7 +63,7 @@ stdenv.mkDerivation {
description = "Stores, retrieves, generates, and synchronizes passwords securely";
homepage = "https://github.com/FiloSottile/passage";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ kaction ];
maintainers = with maintainers; [ kaction ma27 ];
platforms = platforms.unix;
mainProgram = "passage";

Expand Down

0 comments on commit 473ed42

Please sign in to comment.