cygwin: asciidoc otherwise tries to install to //nix and fails on cygwin

'//' on cygwin is the beginning of a SAMBA path
This commit is contained in:
Florian Friesdorf 2014-10-24 17:20:39 +02:00 committed by Rok Garbas
parent 2876b726bd
commit 7f7aca4e16

View File

@ -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";