gnu: hdf5: Fix invalid regex range.

* gnu/packages/maths.scm (hdf5-1.8)[arguments]: Use [a-zA-Z] instead of [a-Z]
as range in regular expression.
This commit is contained in:
Marius Bakke 2021-05-17 17:59:09 +02:00
parent 6ee590eca8
commit b52f635e41
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -1170,7 +1170,7 @@ (define-public hdf5-1.8
;; libhdf5.so. We truncate the hashes to avoid
;; unnecessary store references to those compilers:
(substitute* "src/libhdf5.settings"
(("(/gnu/store/)([a-Z0-9]*)" all prefix hash)
(("(/gnu/store/)([a-zA-Z0-9]*)" all prefix hash)
(string-append prefix (string-take hash 10) "..."))
;; Don't record the build-time kernel version to make the
;; settings file reproducible.