about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2019-10-26 15:35:48 +0200
committerJan Tojnar <jtojnar@gmail.com>2019-12-30 11:13:39 +0100
commit04c2b2f52ea8d10d7b669cb26ddebbb45ac47eff (patch)
tree8a801f0410af260d6bc8db04338aad3070000446
parent083d3550a596f5c0a970df2705b294fa04292314 (diff)
asciidoc: *Flags are lists
-rw-r--r--pkgs/tools/typesetting/asciidoc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/typesetting/asciidoc/default.nix b/pkgs/tools/typesetting/asciidoc/default.nix
index 83aa667f58fd2..44c5f6d1f242c 100644
--- a/pkgs/tools/typesetting/asciidoc/default.nix
+++ b/pkgs/tools/typesetting/asciidoc/default.nix
@@ -259,7 +259,7 @@ stdenv.mkDerivation rec {
   '';
 
   preInstall = "mkdir -p $out/etc/vim";
-  makeFlags = if stdenv.isCygwin then "DESTDIR=/." else null;
+  makeFlags = stdenv.lib.optional stdenv.isCygwin "DESTDIR=/.";
 
   meta = with stdenv.lib; {
     description = "Text-based document generation system";