gnu: netcdf: Fix build.

* gnu/packages/maths.scm (netcdf)[arguments]: Fix regexp in 'patch-settings'
  phase.
This commit is contained in:
Guillaume Le Vaillant 2021-08-20 13:54:35 +02:00
parent 979611d4dd
commit 361d4627ab
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -1697,7 +1697,7 @@ (define-public netcdf
;; filenames to avoid unnecessary references to the corresponding
;; store items.
(substitute* "libnetcdf.settings"
(("(/gnu/store/)([a-Z0-9]*)" all prefix hash)
(("(/gnu/store/)([0-9A-Za-z]*)" all prefix hash)
(string-append prefix (string-take hash 10) "...")))
#t)))