summary refs log tree commit diff
path: root/pkgs/applications/misc/hivemind
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2020-01-30 20:41:54 +0000
committerJon <jonringer@users.noreply.github.com>2020-01-30 22:00:54 -0800
commit28a590897ec0988d4488f7ec579d24d08200039c (patch)
tree5ce94c76843bfd1047daf08c76092d534270c59d /pkgs/applications/misc/hivemind
parent7267908f844efd14a3aac3e3479bc8fd722d65fb (diff)
downloadnixpkgs-28a590897ec0988d4488f7ec579d24d08200039c.tar
nixpkgs-28a590897ec0988d4488f7ec579d24d08200039c.tar.gz
nixpkgs-28a590897ec0988d4488f7ec579d24d08200039c.tar.bz2
nixpkgs-28a590897ec0988d4488f7ec579d24d08200039c.tar.lz
nixpkgs-28a590897ec0988d4488f7ec579d24d08200039c.tar.xz
nixpkgs-28a590897ec0988d4488f7ec579d24d08200039c.tar.zst
nixpkgs-28a590897ec0988d4488f7ec579d24d08200039c.zip
hivemind: Patch /bin/sh to runtimeShell
Diffstat (limited to 'pkgs/applications/misc/hivemind')
-rw-r--r--pkgs/applications/misc/hivemind/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/misc/hivemind/default.nix b/pkgs/applications/misc/hivemind/default.nix
index e452ec0511e..b3fb84340f2 100644
--- a/pkgs/applications/misc/hivemind/default.nix
+++ b/pkgs/applications/misc/hivemind/default.nix
@@ -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";