diff options
author | Merijn Broeren <merijnb@iloquent.com> | 2019-10-27 13:03:25 +0000 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-12-30 12:58:11 +0100 |
commit | 133103d7094c148bdc9152562b16c8872c44f345 (patch) | |
tree | 2ccef8bd86eff2104561da4eccdd41dd6776950b /pkgs/tools/X11/setroot | |
parent | 08d5fc393457121b531417ee6c922e3ebee0187c (diff) |
treewide: replace make/build/configure/patchFlags with nix lists
Diffstat (limited to 'pkgs/tools/X11/setroot')
-rw-r--r-- | pkgs/tools/X11/setroot/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/X11/setroot/default.nix b/pkgs/tools/X11/setroot/default.nix index bb113c90849c9..a9b5f17af8329 100644 --- a/pkgs/tools/X11/setroot/default.nix +++ b/pkgs/tools/X11/setroot/default.nix @@ -18,9 +18,9 @@ stdenv.mkDerivation rec { buildInputs = [ libX11 imlib2 ] ++ stdenv.lib.optional enableXinerama libXinerama; - buildFlags = "CC=cc " + (if enableXinerama then "xinerama=1" else "xinerama=0"); + buildFlags = [ "CC=cc" (if enableXinerama then "xinerama=1" else "xinerama=0") ] ; - installFlags = "DESTDIR=$(out) PREFIX="; + installFlags = [ "DESTDIR=$(out)" "PREFIX=" ]; meta = with stdenv.lib; { description = "Simple X background setter inspired by imlibsetroot and feh"; |