Unverified Commit 98e04ab1 authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

Merge pull request #276704 from Ma27/passage-deps

passage: add additional deps to wrapper
parents d9565885 e663cbe6
Loading
Loading
Loading
Loading
+19 −2
Original line number Diff line number Diff line
@@ -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
@@ -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 = ''
@@ -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";