GNU bug report logs - #60075
[PATCH 00/58] New julia patches

Previous Next

Package: guix-patches;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Wed, 14 Dec 2022 20:33:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Efraim Flashner <efraim <at> flashner.co.il>
To: 60075 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, zimon.toutoune <at> gmail.com
Subject: [bug#60075] [PATCH 16/58] gnu: julia-safetestsets: Fix build.
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





This bug report was last modified 2 years and 244 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.