mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
wine: refactor an argument
This commit is contained in:
parent
e675b2d92d
commit
32fa84d8e7
1 changed files with 1 additions and 3 deletions
|
@ -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"; });
|
||||
|
|
Loading…
Reference in a new issue