bintools-wrapper: Fix version

This commit is contained in:
John Ericson 2019-11-24 17:57:06 +00:00
parent 97baa2e21b
commit 4a0a297861

View File

@ -34,7 +34,7 @@ let
targetPrefix = stdenv.lib.optionalString (targetPlatform != hostPlatform)
(targetPlatform.config + "-");
bintoolsVersion = stdenv.lib.getVersion version;
bintoolsVersion = stdenv.lib.getVersion bintools;
bintoolsName = stdenv.lib.removePrefix targetPrefix (stdenv.lib.getName bintools);
libc_bin = if libc == null then null else getBin libc;