libcutl: fix regex

Attempt to fix #71544
This commit is contained in:
Renaud 2019-10-21 18:25:40 +02:00 committed by GitHub
parent 2dc7d6197e
commit 8e5de3a0cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
license = licenses.mit;
};
majmin = builtins.head ( builtins.match "([[:digit:]]\.[[:digit:]]*+)\.*" "${version}" );
majmin = builtins.head ( builtins.match "([[:digit:]]\.[[:digit:]]+)\.*" "${version}" );
src = fetchurl {
url = "https://codesynthesis.com/download/${pname}/${majmin}/${pname}-${version}.tar.bz2";
sha256 = "070j2x02m4gm1fn7gnymrkbdxflgzxwl7m96aryv8wp3f3366l8j";