treewide: NIX_*_COMPILE -> string
This commit is contained in:
@@ -19,12 +19,12 @@ stdenv.mkDerivation rec {
|
||||
(if x11Support then "--enable-x11" else "--disable-x11")
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optional (!x11Support) "-DX_DISPLAY_MISSING";
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (!x11Support) "-DX_DISPLAY_MISSING";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
propagatedBuildInputs = [ ncurses zlib pkgconfig (imlib2.override { inherit x11Support; }) ]
|
||||
++ stdenv.lib.optionals x11Support [ libX11 libXext];
|
||||
++ stdenv.lib.optionals x11Support [ libX11 libXext ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $dev/bin
|
||||
|
||||
Reference in New Issue
Block a user