From 7f7aca4e16fc66c6900f0dc6ed03894fd079eec8 Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Fri, 24 Oct 2014 17:20:39 +0200 Subject: [PATCH] cygwin: asciidoc otherwise tries to install to //nix and fails on cygwin '//' on cygwin is the beginning of a SAMBA path --- pkgs/tools/typesetting/asciidoc/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/typesetting/asciidoc/default.nix b/pkgs/tools/typesetting/asciidoc/default.nix index 370f0efb32a0..81a457d0d2d5 100644 --- a/pkgs/tools/typesetting/asciidoc/default.nix +++ b/pkgs/tools/typesetting/asciidoc/default.nix @@ -255,6 +255,7 @@ stdenv.mkDerivation rec { ''; preInstall = "mkdir -p $out/etc/vim"; + makeFlags = if stdenv.isCygwin then "DESTDIR=/." else null; meta = with stdenv.lib; { description = "Text-based document generation system";