unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#62342] [PATCH] gnu: nim: Update to 1.6.12.
@ 2023-03-21 14:16 Gruruya via Guix-patches via
  2023-03-21 15:43 ` bug#62342: close: Duplicate of #62341 greytest via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gruruya via Guix-patches via @ 2023-03-21 14:16 UTC (permalink / raw)
  To: greytest, 62342

* gnu/packages/nim: Update to 1.6.12.
[patch-installer]: Install /lib to right directory.
[patch-more-shebangs]: Edit substitute* to point to new osproc source.
---
 gnu/packages/nim.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/nim.scm b/gnu/packages/nim.scm
index 6da382119f..77c2463cca 100644
--- a/gnu/packages/nim.scm
+++ b/gnu/packages/nim.scm
@@ -36,14 +36,14 @@ (define-module (gnu packages nim)
 (define-public nim
   (package
     (name "nim")
-    (version "1.6.6")
+    (version "1.6.12")
     (source
      (origin
       (method url-fetch)
       (uri (string-append "https://nim-lang.org/download/"
                           name "-" version ".tar.xz"))
       (sha256
-       (base32 "0lm4450ig8k4l3rzxv6kcqji5l1lzicsw76ckwxm0q9qdz713cb7"))))
+       (base32 "1hjd9dxhqzn2ifr988li8q7v6kxpxlcqbdllfd6lsq3knw50pvxc"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f          ; TODO: Investigate tests failures.
@@ -55,6 +55,7 @@ (define-public nim
                (let ((out (assoc-ref outputs "out")))
                  (substitute* "install.sh"
                   (("/usr/local") out)
+                  (("/lib/nim") "/lib")
                   (("/opt/nimble") (string-append out "/share/nimble"))
                   (("configdir=/etc/nim")
                    (string-append "configdir=" out "/etc/nim"))))))
@@ -102,7 +103,7 @@ (define-public nim
                                 "lib/pure/osproc.nim"
                                 "lib/pure/strscans.nim")
                    (("/bin/sh") sh))
-                 (substitute* (find-files "c_code" "stdlib_osproc\\.nim\\.c")
+                 (substitute* (find-files "c_code" "@m\\.\\.@slib@spure@sosproc\\.nim\\.c")
                    (("\"/bin/sh\", 7") (format #f "~s, ~s" sh (string-length sh)))))))
            (replace 'build
              (lambda* (#:key (parallel-build? #t) #:allow-other-keys)
-- 
2.40.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#62342: close: Duplicate of #62341
  2023-03-21 14:16 [bug#62342] [PATCH] gnu: nim: Update to 1.6.12 Gruruya via Guix-patches via
@ 2023-03-21 15:43 ` greytest via Guix-patches via
  2023-03-21 15:44 ` bug#62340: " greytest via Guix-patches via
  2023-03-25 12:08 ` bug#62341: close: Messed up submission greytest via Guix-patches via
  2 siblings, 0 replies; 4+ messages in thread
From: greytest via Guix-patches via @ 2023-03-21 15:43 UTC (permalink / raw)
  To: 62342-done

[-- Attachment #1: Type: text/html, Size: 199 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#62340: close: Duplicate of #62341
  2023-03-21 14:16 [bug#62342] [PATCH] gnu: nim: Update to 1.6.12 Gruruya via Guix-patches via
  2023-03-21 15:43 ` bug#62342: close: Duplicate of #62341 greytest via Guix-patches via
@ 2023-03-21 15:44 ` greytest via Guix-patches via
  2023-03-25 12:08 ` bug#62341: close: Messed up submission greytest via Guix-patches via
  2 siblings, 0 replies; 4+ messages in thread
From: greytest via Guix-patches via @ 2023-03-21 15:44 UTC (permalink / raw)
  To: 62340-done

[-- Attachment #1: Type: text/html, Size: 199 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#62341: close: Messed up submission
  2023-03-21 14:16 [bug#62342] [PATCH] gnu: nim: Update to 1.6.12 Gruruya via Guix-patches via
  2023-03-21 15:43 ` bug#62342: close: Duplicate of #62341 greytest via Guix-patches via
  2023-03-21 15:44 ` bug#62340: " greytest via Guix-patches via
@ 2023-03-25 12:08 ` greytest via Guix-patches via
  2 siblings, 0 replies; 4+ messages in thread
From: greytest via Guix-patches via @ 2023-03-25 12:08 UTC (permalink / raw)
  To: 62341-done

[-- Attachment #1: Type: text/plain, Size: 57 bytes --]



I'm going to try this one again. Sorry for the trouble.

[-- Attachment #2: Type: text/html, Size: 242 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-25 12:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-21 14:16 [bug#62342] [PATCH] gnu: nim: Update to 1.6.12 Gruruya via Guix-patches via
2023-03-21 15:43 ` bug#62342: close: Duplicate of #62341 greytest via Guix-patches via
2023-03-21 15:44 ` bug#62340: " greytest via Guix-patches via
2023-03-25 12:08 ` bug#62341: close: Messed up submission greytest via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).