hivemind: Patch /bin/sh to runtimeShell

This commit is contained in:
adisbladis 2020-01-30 20:41:54 +00:00 committed by Jon
parent 7267908f84
commit 28a590897e

View File

@ -1,10 +1,14 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoPackage, fetchFromGitHub, runtimeShell }:
buildGoPackage rec {
pname = "hivemind";
version = "1.0.6";
goPackagePath = "github.com/DarthSim/hivemind";
postPatch = ''
substituteInPlace process.go --replace \"/bin/sh\" \"${runtimeShell}\"
'';
src = fetchFromGitHub {
owner = "DarthSim";
repo = "hivemind";