diff options
author | Robert Schütz <nix@dotlambda.de> | 2022-12-22 01:25:45 -0800 |
---|---|---|
committer | Robert Schütz <nix@dotlambda.de> | 2022-12-22 01:25:45 -0800 |
commit | 61184e7ecc3a7d654e20ee204397d2dd0d2fd10a (patch) | |
tree | 41d22cca514812298f2a88de4c2e18e2607ca19a /pkgs/tools/virtualization | |
parent | b3af9ee9ea6e56f5e5af09c7124fee458a5971fe (diff) |
xe-guest-utilities: remove references to /bin/sh
Diffstat (limited to 'pkgs/tools/virtualization')
-rw-r--r-- | pkgs/tools/virtualization/xe-guest-utilities/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/virtualization/xe-guest-utilities/default.nix b/pkgs/tools/virtualization/xe-guest-utilities/default.nix index 3c2b170be2d99..e78b36c9f84f9 100644 --- a/pkgs/tools/virtualization/xe-guest-utilities/default.nix +++ b/pkgs/tools/virtualization/xe-guest-utilities/default.nix @@ -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 |