llvm7: only use 1 number in version suffix, upstream changed

See llvm 2a6cf85828509e89e18739e5f4b9a958820d66d4
This commit is contained in:
Will Dietz 2018-09-20 19:42:44 -05:00
parent e3030a2908
commit b3645d74d1

View File

@ -20,7 +20,7 @@ let
# Used when creating a version-suffixed symlink of libLLVM.dylib
shortVersion = with stdenv.lib;
concatStringsSep "." (take 2 (splitString "." release_version));
concatStringsSep "." (take 1 (splitString "." release_version));
in stdenv.mkDerivation (rec {
name = "llvm-${version}";