nedit: *Flags are lists
This commit is contained in:
parent
43e91d6f07
commit
78cf5eda69
@ -14,9 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ xlibsWrapper ];
|
nativeBuildInputs = [ xlibsWrapper ];
|
||||||
buildInputs = [ motif libXpm ];
|
buildInputs = [ motif libXpm ];
|
||||||
|
|
||||||
buildFlags = if stdenv.isLinux then "linux" else
|
|
||||||
# the linux config works fine on darwin too!
|
# the linux config works fine on darwin too!
|
||||||
if stdenv.isDarwin then "linux" else "";
|
buildFlags = stdenv.lib.optional (stdenv.isLinux || stdenv.isDarwin) "linux";
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE="-DBUILD_UNTESTED_NEDIT -L${motif}/lib";
|
NIX_CFLAGS_COMPILE="-DBUILD_UNTESTED_NEDIT -L${motif}/lib";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user