gnu: gnome-maps: Remove obsolete phase.

* gnu/packages/geo.scm (gnome-maps)[arguments]: Remove 'fix-broken-tests
phase as the tests pass now.
This commit is contained in:
Jonathan Brielmaier 2021-09-12 12:01:30 +02:00
parent 174a622f63
commit 0246bf5f80
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -237,15 +237,6 @@ (define-public gnome-maps
(("@pkgdatadir@/org.gnome.Maps")
(string-append (assoc-ref outputs "out") "/bin/gnome-maps")))
#t))
(add-after 'unpack 'fix-broken-tests
(lambda _
;; For some reason setting LC_ALL=C and LANG=C as done in the
;; build system does not prevent these gratuitous commas from
;; being inserted.
(substitute* "tests/utilsTest.js"
(("1001 m") "1,001 m")
(("1000 ft") "1,000 ft")
(("5282 ft") "5,282 ft"))))
(add-after 'install 'wrap
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))