binutils: Inherit version

This commit is contained in:
John Ericson 2019-11-24 17:43:43 +00:00
parent 2c59c1deb5
commit 04f3bc518e

View File

@ -24,6 +24,7 @@ in
stdenv.mkDerivation { stdenv.mkDerivation {
name = targetPrefix + basename; name = targetPrefix + basename;
inherit version;
# HACK to ensure that we preserve source from bootstrap binutils to not rebuild LLVM # HACK to ensure that we preserve source from bootstrap binutils to not rebuild LLVM
src = stdenv.__bootPackages.binutils-unwrapped.src or (fetchurl { src = stdenv.__bootPackages.binutils-unwrapped.src or (fetchurl {
@ -132,7 +133,7 @@ stdenv.mkDerivation {
enableParallelBuilding = true; enableParallelBuilding = true;
passthru = { passthru = {
inherit targetPrefix version; inherit targetPrefix;
}; };
meta = with lib; { meta = with lib; {