dub: 1.8.1 -> 1.10.0

This commit is contained in:
Thomas Mader 2018-08-11 15:25:01 +02:00
parent 6301b09eaa
commit c685f15dc2

View File

@ -4,7 +4,7 @@ let
dubBuild = stdenv.mkDerivation rec {
name = "dubBuild-${version}";
version = "1.8.1";
version = "1.10.0";
enableParallelBuilding = true;
@ -12,7 +12,7 @@ let
owner = "dlang";
repo = "dub";
rev = "v${version}";
sha256 = "16r7x4jsfv5fjssvs6mwj8ymr6fjpvbkjhpr4f4368sjr5iyfad6";
sha256 = "02xxpfcjs427jqbwz0vh5vl3bh62ys65zmi9gpa3svzqffyx13n4";
};
postUnpack = ''
@ -51,7 +51,10 @@ let
# Need to test in a fixed-output derivation, otherwise the
# network tests would fail if sandbox mode is enabled.
dubUnittests = stdenv.mkDerivation rec {
# Disable tests on Darwin for now because they don't work
# reliably there.
dubUnittests = if !stdenv.hostPlatform.isDarwin then
stdenv.mkDerivation rec {
name = "dubUnittests-${version}";
version = dubBuild.version;
@ -84,7 +87,9 @@ let
installPhase = ''
echo -n $inputString > $out
'';
};
}
else
"";
in