Merge pull request #111844 from wohanley/fix/goimapnotify-patch-sh
goimapnotify: patch sh with /bin/sh
This commit is contained in:
commit
d4c4ee145b
@ -1,4 +1,4 @@
|
|||||||
{ buildGoPackage, fetchFromGitLab, lib }:
|
{ buildGoPackage, fetchFromGitLab, lib, runtimeShell }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "goimapnotify";
|
pname = "goimapnotify";
|
||||||
@ -13,6 +13,10 @@ buildGoPackage rec {
|
|||||||
sha256 = "1d42gd3m2rkvy985d181dbcm5i3f7xsg2z8z6s4bpvw24pfnzs42";
|
sha256 = "1d42gd3m2rkvy985d181dbcm5i3f7xsg2z8z6s4bpvw24pfnzs42";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace command.go --replace '"sh"' '"${runtimeShell}"'
|
||||||
|
'';
|
||||||
|
|
||||||
goDeps = ./deps.nix;
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user