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 {
|
buildGoPackage rec {
|
||||||
pname = "hivemind";
|
pname = "hivemind";
|
||||||
version = "1.0.6";
|
version = "1.0.6";
|
||||||
goPackagePath = "github.com/DarthSim/hivemind";
|
goPackagePath = "github.com/DarthSim/hivemind";
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace process.go --replace \"/bin/sh\" \"${runtimeShell}\"
|
||||||
|
'';
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "DarthSim";
|
owner = "DarthSim";
|
||||||
repo = "hivemind";
|
repo = "hivemind";
|
||||||
|
Loading…
Reference in New Issue
Block a user