diff options
author | linsui <linsui555@gmail.com> | 2023-02-25 16:16:11 +0800 |
---|---|---|
committer | linsui <linsui555@gmail.com> | 2023-02-25 16:16:11 +0800 |
commit | 355861a4479962ad6b23e8fe3cd5006b204deb90 (patch) | |
tree | f4fb5dff546ca286e0378b83bc2ceaf43d36a663 /pkgs/development/quickemu | |
parent | 19943b316146563a17e465576825e86a286a4b09 (diff) |
quickmu: fix for spice-client-glib-usb-acl-helper
Diffstat (limited to 'pkgs/development/quickemu')
-rw-r--r-- | pkgs/development/quickemu/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/quickemu/default.nix b/pkgs/development/quickemu/default.nix index 25cb3b4d7eb83..ccfc23913fe73 100644 --- a/pkgs/development/quickemu/default.nix +++ b/pkgs/development/quickemu/default.nix @@ -39,7 +39,6 @@ let util-linux unzip socat - spice-gtk swtpm wget xdg-user-dirs @@ -75,8 +74,12 @@ stdenv.mkDerivation rec { install -Dm755 -t "$out/bin" macrecovery quickemu quickget windowskey + # spice-gtk needs to be put in suffix so that when virtualisation.spiceUSBRedirection + # is enabled, the wrapped spice-client-glib-usb-acl-helper is used for f in macrecovery quickget quickemu windowskey; do - wrapProgram $out/bin/$f --prefix PATH : "${lib.makeBinPath runtimePaths}" + wrapProgram $out/bin/$f \ + --prefix PATH : "${lib.makeBinPath runtimePaths}" \ + --suffix PATH : "${lib.makeBinPath [ spice-gtk ]}" done runHook postInstall |