{cc,bintools}-wrapper: Inherit compiler version

This commit is contained in:
Craig Hall
2019-06-24 01:42:48 +01:00
committed by John Ericson
parent 04f3bc518e
commit da3c053482
2 changed files with 6 additions and 6 deletions

View File

@@ -73,9 +73,9 @@ let
in
stdenv.mkDerivation {
name = targetPrefix
+ (if name != "" then name else "${bintoolsName}-wrapper")
+ (stdenv.lib.optionalString (bintools != null && bintoolsVersion != "") "-${bintoolsVersion}");
pname = targetPrefix
+ (if name != "" then name else "${bintoolsName}-wrapper");
version = if bintools == null then null else bintoolsVersion;
preferLocalBuild = true;