mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge #207219: xe-guest-utilities: remove references to /bin/sh
This commit is contained in:
commit
99dd8e6fe5
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, runtimeShell
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -16,6 +17,11 @@ buildGoModule rec {
|
||||
|
||||
vendorHash = "sha256-zhpDvo8iujE426/gxJY+Pqfv99vLNKHqyMQbbXIKodY=";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace mk/xen-vcpu-hotplug.rules \
|
||||
--replace "/bin/sh" "${runtimeShell}"
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user