Skip to content

Commit

Permalink
virtualboxGuestAdditions: remove alsa & pulse deps
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedrichAltheide committed May 13, 2024
1 parent 81f4b1d commit fae0e70
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ config, stdenv, kernel, fetchurl, lib, pam, libxslt
, libX11, libXext, libXcursor, libXmu
, glib, alsa-lib, libXrandr, dbus
, glib, libXrandr, dbus
, pkg-config, which, zlib, xorg
, yasm, patchelf, makeWrapper, makeself, nasm
, linuxHeaders, openssl, libpulseaudio}:
, linuxHeaders, openssl}:

let
buildType = "release";
Expand All @@ -20,8 +20,7 @@ in stdenv.mkDerivation (finalAttrs: {
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types -Wno-error=implicit-function-declaration";

nativeBuildInputs = [ patchelf makeWrapper pkg-config which yasm makeself nasm xorg.xorgserver openssl linuxHeaders ] ++ kernel.moduleBuildDependencies;
buildInputs = [ dbus libxslt libXext libXcursor
alsa-lib pam libXmu libXrandr libpulseaudio ];
buildInputs = [ dbus libxslt libXext libXcursor pam libXmu libXrandr ];

KERN_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
KERN_INCL = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/source/include";
Expand Down Expand Up @@ -97,6 +96,8 @@ in stdenv.mkDerivation (finalAttrs: {
VBOX_WITHOUT_LINUX_GUEST_PACKAGE := 1
VBOX_WITH_PAM :=
VBOX_WITH_UPDATE_AGENT :=
VBOX_WITH_AUDIO_ALSA :=
VBOX_WITH_AUDIO_PULSE :=
VBOX_BUILD_PUBLISHER := _NixOS
LOCAL_CONFIG
Expand Down

0 comments on commit fae0e70

Please sign in to comment.