x11: replace its usage by xlibsWrapper directly
Scilab note: the parameters already had pointed to nonexistent dirs before this set of refactoring. But that config wasn't even used by default.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
# optional features with extra dependencies
|
||||
, ncursesSupport ? true , ncurses ? null
|
||||
, x11Support ? true , x11 ? null
|
||||
, x11Support ? true , xlibsWrapper ? null
|
||||
, xdamageSupport ? x11Support, libXdamage ? null
|
||||
, imlib2Support ? x11Support, imlib2 ? null
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
assert ncursesSupport -> ncurses != null;
|
||||
|
||||
assert x11Support -> x11 != null;
|
||||
assert x11Support -> xlibsWrapper != null;
|
||||
assert xdamageSupport -> x11Support && libXdamage != null;
|
||||
assert imlib2Support -> x11Support && imlib2 != null;
|
||||
assert luaSupport -> lua != null;
|
||||
@@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ pkgconfig glib cmake ]
|
||||
++ optional ncursesSupport ncurses
|
||||
++ optional x11Support x11
|
||||
++ optional x11Support xlibsWrapper
|
||||
++ optional xdamageSupport libXdamage
|
||||
++ optional imlib2Support imlib2
|
||||
++ optional luaSupport lua
|
||||
|
||||
Reference in New Issue
Block a user