Unverified Commit 99c8b3b7 authored by Anthony Roussel's avatar Anthony Roussel
Browse files

tomb: add all required dependencies with wrapProgram

parent 42ad64f5
Loading
Loading
Loading
Loading
+23 −5
Original line number Diff line number Diff line
@@ -3,16 +3,20 @@
, fetchFromGitHub
, substituteAll
, makeWrapper
, getent
, gettext
, zsh
, pinentry
, coreutils
, cryptsetup
, e2fsprogs
, file
, gawk
, getent
, gettext
, gnugrep
, gnupg
, libargon2
, lsof
, pinentry
, util-linux
, e2fsprogs
, nix-update-script
}:

@@ -42,7 +46,21 @@ stdenv.mkDerivation rec {
    install -Dm644 doc/tomb.1 $out/share/man/man1/tomb.1

    wrapProgram $out/bin/tomb \
      --prefix PATH : $out/bin:${lib.makeBinPath [ cryptsetup e2fsprogs getent gettext gnupg libargon2 lsof pinentry util-linux ]}
      --prefix PATH : $out/bin:${lib.makeBinPath [
          coreutils
          cryptsetup
          e2fsprogs
          file
          gawk
          getent
          gettext
          gnugrep
          gnupg
          libargon2
          lsof
          pinentry
          util-linux
        ]}
  '';

  passthru = {