treewide: NIX_*_FLAGS -> string

This commit is contained in:
Robin Gloster
2019-10-30 12:34:47 +01:00
committed by Jan Tojnar
parent f9f46dc327
commit 313da176d3
89 changed files with 108 additions and 158 deletions

View File

@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ flex bison ];
buildInputs = [ libxml2 ncurses ];
NIX_CFLAGS_COMPILE = [ "-I${libxml2.dev}/include/libxml2" ];
NIX_CFLAGS_COMPILE = "-I${libxml2.dev}/include/libxml2";
meta = with stdenv.lib; {
description = "Performance monitoring tool for Linux";

View File

@@ -12,7 +12,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ dbus libnotify udisks2 gdk-pixbuf ];
NIX_CFLAGS_COMPILE = [ "-DENABLE_NOTIFICATIONS" ];
NIX_CFLAGS_COMPILE = "-DENABLE_NOTIFICATIONS";
installPhase = ''
mkdir -p $out/bin