Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

drozv
Copy link
Contributor

@drozv drozv commented Jun 13, 2014

Fix for issue #2922

configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" x11 ];
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" x11lib
"-x11include" x11inc ];

Copy link
Member

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?

Copy link
Contributor Author

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.

@7c6f434c
Copy link
Member

Maybe useX11 could be made parameter expression? Different defaults on large and small platforms, but changeable from outside.

@drozv
Copy link
Contributor Author

drozv commented Jun 13, 2014

That makes sense to me, maybe x11 support should be enabled based on services.xserver.enable ?

@FlorentBecker FlorentBecker mentioned this pull request Jun 15, 2014
@7c6f434c
Copy link
Member

This can only be a default

@7c6f434c
Copy link
Member

Incoming SSH, Xvnc…

@FlorentBecker FlorentBecker mentioned this pull request Jul 21, 2014
@FlorentBecker
Copy link
Contributor

see also #3330

@vcunat
Copy link
Member

vcunat commented Aug 12, 2014

Seems to make sense and still builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants