1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 02:46:28 +00:00

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"; preInstall = "mkdir -p $out/etc/vim";
makeFlags = if stdenv.isCygwin then "DESTDIR=/." else null;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Text-based document generation system"; description = "Text-based document generation system";