treewide: NIX_CFLAGS_COMPILE -> string

This commit is contained in:
Robin Gloster
2019-10-30 00:53:51 +01:00
committed by Jan Tojnar
parent 4db0860814
commit e5ded57aab
11 changed files with 21 additions and 24 deletions

View File

@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
configureFlags = stdenv.lib.optional stdenv.isLinux
"--with-module-dir=${mesa.drivers.driverLink}/lib/vdpau";
NIX_LDFLAGS = if stdenv.isDarwin then "-lX11" else null;
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lX11";
installFlags = [ "moduledir=$(out)/lib/vdpau" ];