Merge pull request #111844 from wohanley/fix/goimapnotify-patch-sh

goimapnotify: patch sh with /bin/sh
This commit is contained in:
Guillaume Girol 2021-02-04 20:15:50 +00:00 committed by GitHub
commit d4c4ee145b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ buildGoPackage, fetchFromGitLab, lib }:
{ buildGoPackage, fetchFromGitLab, lib, runtimeShell }:
buildGoPackage rec {
pname = "goimapnotify";
@ -13,6 +13,10 @@ buildGoPackage rec {
sha256 = "1d42gd3m2rkvy985d181dbcm5i3f7xsg2z8z6s4bpvw24pfnzs42";
};
postPatch = ''
substituteInPlace command.go --replace '"sh"' '"${runtimeShell}"'
'';
goDeps = ./deps.nix;
meta = with lib; {