wine: Get rid of unnecessary eta expansion in default.nix
No point making a function just to call it with a single (tiny) argument just once!
This commit is contained in:
@@ -47,49 +47,44 @@
|
||||
moltenvk, # Allow users to override MoltenVK easily
|
||||
}:
|
||||
|
||||
let
|
||||
wine-build =
|
||||
build:
|
||||
lib.getAttr build (
|
||||
callPackage ./packages.nix {
|
||||
inherit wineRelease;
|
||||
supportFlags = {
|
||||
inherit
|
||||
alsaSupport
|
||||
cairoSupport
|
||||
cupsSupport
|
||||
cursesSupport
|
||||
dbusSupport
|
||||
embedInstallers
|
||||
fontconfigSupport
|
||||
gettextSupport
|
||||
gphoto2Support
|
||||
gstreamerSupport
|
||||
gtkSupport
|
||||
krb5Support
|
||||
mingwSupport
|
||||
netapiSupport
|
||||
odbcSupport
|
||||
openclSupport
|
||||
openglSupport
|
||||
pcapSupport
|
||||
pulseaudioSupport
|
||||
saneSupport
|
||||
sdlSupport
|
||||
tlsSupport
|
||||
udevSupport
|
||||
usbSupport
|
||||
v4lSupport
|
||||
vaSupport
|
||||
vulkanSupport
|
||||
waylandSupport
|
||||
x11Support
|
||||
ffmpegSupport
|
||||
xineramaSupport
|
||||
;
|
||||
};
|
||||
inherit moltenvk;
|
||||
}
|
||||
);
|
||||
in
|
||||
wine-build wineBuild
|
||||
lib.getAttr wineBuild (
|
||||
callPackage ./packages.nix {
|
||||
inherit wineRelease;
|
||||
supportFlags = {
|
||||
inherit
|
||||
alsaSupport
|
||||
cairoSupport
|
||||
cupsSupport
|
||||
cursesSupport
|
||||
dbusSupport
|
||||
embedInstallers
|
||||
fontconfigSupport
|
||||
gettextSupport
|
||||
gphoto2Support
|
||||
gstreamerSupport
|
||||
gtkSupport
|
||||
krb5Support
|
||||
mingwSupport
|
||||
netapiSupport
|
||||
odbcSupport
|
||||
openclSupport
|
||||
openglSupport
|
||||
pcapSupport
|
||||
pulseaudioSupport
|
||||
saneSupport
|
||||
sdlSupport
|
||||
tlsSupport
|
||||
udevSupport
|
||||
usbSupport
|
||||
v4lSupport
|
||||
vaSupport
|
||||
vulkanSupport
|
||||
waylandSupport
|
||||
x11Support
|
||||
ffmpegSupport
|
||||
xineramaSupport
|
||||
;
|
||||
};
|
||||
inherit moltenvk;
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user