wine: refactor an argument

This commit is contained in:
Vladimír Čunát 2016-01-04 22:58:06 +01:00
parent e675b2d92d
commit 32fa84d8e7

View File

@ -15691,9 +15691,7 @@ let
wine = callPackage ../misc/emulators/wine {
wineRelease = config.wine.release or "stable";
wineBuild = config.wine.build or "wine32";
pulseaudioSupport = if (config ? pulseaudio)
then config.pulseaudio
else stdenv.isLinux;
pulseaudioSupport = config.pulseaudio or stdenv.isLinux;
};
wineStable = wine.override { wineRelease = "stable"; };
wineUnstable = lowPrio (wine.override { wineRelease = "unstable"; });