mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #59361 from bricewge/2019-04-12-tomb
tomb: add sudo to buildInputs
This commit is contained in:
commit
917a7fa1cb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user