-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix x11 include and lib parameters for configure script. #2923
Conversation
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" x11 ]; | ||
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" x11lib | ||
"-x11include" x11inc ]; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't it work if you simply add correct buildInputs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, because the configure script checks for the existence of certain X11 headers and libs, first in the user-supplied directories, then in the standard locations if the user does not specify them. If these headers and libs are not found the configure script disables support for the graphics library.
Maybe useX11 could be made parameter expression? Different defaults on large and small platforms, but changeable from outside. |
That makes sense to me, maybe x11 support should be enabled based on services.xserver.enable ? |
This can only be a default |
Incoming SSH, Xvnc… |
see also #3330 |
Seems to make sense and still builds. |
Fix for issue #2922