dmd, ldc, dub: Inherit buildInput and meta from build derivation
This commit is contained in:
parent
66860af01a
commit
b2e76afa99
3 changed files with 8 additions and 0 deletions
|
@ -278,10 +278,12 @@ stdenv.mkDerivation rec {
|
|||
inherit phobosUnittests;
|
||||
name = "dmd-${version}";
|
||||
phases = "installPhase";
|
||||
buildInputs = dmdBuild.buildInputs;
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r --symbolic-link ${dmdBuild}/* $out/
|
||||
'';
|
||||
meta = dmdBuild.meta;
|
||||
}
|
||||
|
||||
|
|
|
@ -249,10 +249,13 @@ stdenv.mkDerivation rec {
|
|||
inherit ldcUnittests;
|
||||
name = "ldc-${version}";
|
||||
phases = "installPhase";
|
||||
buildInputs = ldcBuild.buildInputs;
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r --symbolic-link ${ldcBuild}/* $out/
|
||||
'';
|
||||
|
||||
meta = ldcBuild.meta;
|
||||
}
|
||||
|
||||
|
|
|
@ -87,10 +87,13 @@ stdenv.mkDerivation rec {
|
|||
inherit dubUnittests;
|
||||
name = "dub-${dubBuild.version}";
|
||||
phases = "installPhase";
|
||||
buildInputs = dubBuild.buildInputs;
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r --symbolic-link ${dubBuild}/* $out/
|
||||
'';
|
||||
|
||||
meta = dubBuild.meta;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue