mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
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 {
|
||||
pname = "goimapnotify";
|
||||
@ -13,6 +13,10 @@ buildGoPackage rec {
|
||||
sha256 = "1d42gd3m2rkvy985d181dbcm5i3f7xsg2z8z6s4bpvw24pfnzs42";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace command.go --replace '"sh"' '"${runtimeShell}"'
|
||||
'';
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user