dub: 1.7.1 -> 1.7.2
This commit is contained in:
parent
a1f920e900
commit
1ac2ce107c
@ -4,7 +4,7 @@ let
|
|||||||
|
|
||||||
dubBuild = stdenv.mkDerivation rec {
|
dubBuild = stdenv.mkDerivation rec {
|
||||||
name = "dubBuild-${version}";
|
name = "dubBuild-${version}";
|
||||||
version = "1.7.1";
|
version = "1.7.2";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -12,9 +12,13 @@ let
|
|||||||
owner = "dlang";
|
owner = "dlang";
|
||||||
repo = "dub";
|
repo = "dub";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "09bcc9bq2z1rbm8sdip1l81y5p8q13r30k02lzifyasiplrnpvlv";
|
sha256 = "073ibvgm1gphcqs1yjrav9ryp677nh3b194nxmvicwgvdc0sb6w9";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postUnpack = ''
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# TODO Remove with next release which contains https://github.com/dlang/dub/pull/1354
|
# TODO Remove with next release which contains https://github.com/dlang/dub/pull/1354
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
@ -23,12 +27,11 @@ let
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Can be removed with https://github.com/dlang/dub/pull/1368
|
||||||
|
dubvar = "\\$DUB";
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Avoid that the version file is overwritten
|
substituteInPlace test/fetchzip.sh \
|
||||||
substituteInPlace build.sh \
|
--replace "dub remove" "\"${dubvar}\" remove"
|
||||||
--replace source/dub/version_.d /dev/null
|
|
||||||
|
|
||||||
patchShebangs .
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ dmd libevent rsync ];
|
nativeBuildInputs = [ dmd libevent rsync ];
|
||||||
@ -70,6 +73,7 @@ let
|
|||||||
|
|
||||||
patches = dubBuild.patches;
|
patches = dubBuild.patches;
|
||||||
|
|
||||||
|
postUnpack = dubBuild.postUnpack;
|
||||||
postPatch = dubBuild.postPatch;
|
postPatch = dubBuild.postPatch;
|
||||||
|
|
||||||
nativeBuildInputs = dubBuild.nativeBuildInputs;
|
nativeBuildInputs = dubBuild.nativeBuildInputs;
|
||||||
|
Loading…
Reference in New Issue
Block a user