tomb: add sudo to buildInputs

This commit is contained in:
Brice Waegeneire 2019-04-12 17:22:04 +02:00
parent 3277aedf25
commit ff3b3674a6

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper
, gettext, zsh, pinentry, cryptsetup, gnupg, utillinux, e2fsprogs
, gettext, zsh, pinentry, cryptsetup, gnupg, utillinux, e2fsprogs, sudo
}:
stdenv.mkDerivation rec {
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "1wk1aanzfln88min29p5av2j8gd8vj5afbs2gvarv7lvx1vi7kh1";
};
buildInputs = [ zsh pinentry ];
buildInputs = [ sudo zsh pinentry ];
nativeBuildInputs = [ makeWrapper ];
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
'';
doInstallCheck = true;
installCheckPhase = "$out/bin/tomb -h 2>/dev/null";
installCheckPhase = "$out/bin/tomb -h";
installPhase = ''
install -Dm755 tomb $out/bin/tomb