forked from mirrors/nixpkgs
xe-guest-utilities: remove references to /bin/sh
This commit is contained in:
parent
b3af9ee9ea
commit
61184e7ecc
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, runtimeShell
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
|
@ -16,6 +17,11 @@ buildGoModule rec {
|
||||||
|
|
||||||
vendorHash = "sha256-zhpDvo8iujE426/gxJY+Pqfv99vLNKHqyMQbbXIKodY=";
|
vendorHash = "sha256-zhpDvo8iujE426/gxJY+Pqfv99vLNKHqyMQbbXIKodY=";
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace mk/xen-vcpu-hotplug.rules \
|
||||||
|
--replace "/bin/sh" "${runtimeShell}"
|
||||||
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue