Merge pull request #32481 from ThomasMader/dlang
dmd, ldc, dub: Inherit buildInput and meta from build derivation
This commit is contained in:
commit
f5f6d8e393
@ -278,10 +278,12 @@ stdenv.mkDerivation rec {
|
|||||||
inherit phobosUnittests;
|
inherit phobosUnittests;
|
||||||
name = "dmd-${version}";
|
name = "dmd-${version}";
|
||||||
phases = "installPhase";
|
phases = "installPhase";
|
||||||
|
buildInputs = dmdBuild.buildInputs;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
cp -r --symbolic-link ${dmdBuild}/* $out/
|
cp -r --symbolic-link ${dmdBuild}/* $out/
|
||||||
'';
|
'';
|
||||||
|
meta = dmdBuild.meta;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -249,10 +249,13 @@ stdenv.mkDerivation rec {
|
|||||||
inherit ldcUnittests;
|
inherit ldcUnittests;
|
||||||
name = "ldc-${version}";
|
name = "ldc-${version}";
|
||||||
phases = "installPhase";
|
phases = "installPhase";
|
||||||
|
buildInputs = ldcBuild.buildInputs;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
cp -r --symbolic-link ${ldcBuild}/* $out/
|
cp -r --symbolic-link ${ldcBuild}/* $out/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
meta = ldcBuild.meta;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,10 +87,13 @@ stdenv.mkDerivation rec {
|
|||||||
inherit dubUnittests;
|
inherit dubUnittests;
|
||||||
name = "dub-${dubBuild.version}";
|
name = "dub-${dubBuild.version}";
|
||||||
phases = "installPhase";
|
phases = "installPhase";
|
||||||
|
buildInputs = dubBuild.buildInputs;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
cp -r --symbolic-link ${dubBuild}/* $out/
|
cp -r --symbolic-link ${dubBuild}/* $out/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
meta = dubBuild.meta;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user