hivemind: Patch /bin/sh to runtimeShell
This commit is contained in:
parent
7267908f84
commit
28a590897e
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user