diff options
author | adisbladis <adisbladis@gmail.com> | 2020-01-30 20:41:54 +0000 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-01-30 22:00:54 -0800 |
commit | 28a590897ec0988d4488f7ec579d24d08200039c (patch) | |
tree | 5ce94c76843bfd1047daf08c76092d534270c59d /pkgs/applications/misc/hivemind | |
parent | 7267908f844efd14a3aac3e3479bc8fd722d65fb (diff) | |
download | nixpkgs-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.nix | 6 |
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"; |