Subject: [PATCH 16/58] gnu: julia-safetestsets: Fix build.

From: Efraim Flashner <[email-masked]>
Date: Wed, 14 Dec 2022 22:35:14 +0200

* gnu/packages/julia-xyz.scm (julia-safetestsets)[arguments]: Add phase
to fix the version string in the generated Project.toml.
---
 gnu/packages/julia-xyz.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index c01ba44c19..a73d3e90d0 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -4893,7 +4893,13 @@ (define-public julia-safetestsets
       (arguments
        (list
         #:julia-package-name "SafeTestsets"
-        #:julia-package-uuid "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"))
+        #:julia-package-uuid "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'link-depot 'fix-package-toml
+              (lambda _
+                (substitute* "Project.toml"
+                  (("version = .*") "version = \"0.0.1\"\n")))))))
       (native-inputs
        (list julia-staticarrays))
       (home-page "https://github.com/YingboMa/SafeTestsets.jl")
-- 
2.38.1