mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
wine: refactor an argument
This commit is contained in:
parent
e675b2d92d
commit
32fa84d8e7
@ -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 New Issue
Block a user