overmind: add which runtime dependency

This commit is contained in:
Mathis Antony 2018-08-17 15:31:04 +08:00
parent 36327f3905
commit 92b016572f
No known key found for this signature in database
GPG key ID: 765E892DAE70682C

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub, tmux, makeWrapper }:
{ stdenv, buildGoPackage, fetchFromGitHub, tmux, which, makeWrapper }:
buildGoPackage rec {
name = "overmind-${version}";
@ -8,7 +8,7 @@ buildGoPackage rec {
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram "$bin/bin/overmind" --prefix PATH : "${stdenv.lib.makeBinPath [ tmux ]}"
wrapProgram "$bin/bin/overmind" --prefix PATH : "${stdenv.lib.makeBinPath [ tmux which ]}"
'';
src = fetchFromGitHub {