Skip to content

Fix x11 include and lib parameters for configure script.#2923

Closed
drozv wants to merge 1 commit intoNixOS:masterfrom
drozv:ocaml
Closed

Fix x11 include and lib parameters for configure script.#2923
drozv wants to merge 1 commit intoNixOS:masterfrom
drozv:ocaml

Conversation

@drozv
Copy link
Copy Markdown
Contributor

@drozv drozv commented Jun 13, 2014

Fix for issue #2922

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

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

@drozv
Copy link
Copy Markdown
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
Copy Markdown
Member

This can only be a default

@7c6f434c
Copy link
Copy Markdown
Member

Incoming SSH, Xvnc…

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

see also #3330

@vcunat
Copy link
Copy Markdown
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