GNU bug report logs - #62340
[PATCH] gnu: nim: Update to 1.6.12.

Previous Next

Package: guix-patches;

Reported by: Gruruya <greytest <at> disroot.org>

Date: Tue, 21 Mar 2023 15:37:02 UTC

Severity: normal

Tags: patch

Done: greytest <greytest <at> disroot.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: greytest <greytest <at> disroot.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#62340: closed ([PATCH] gnu: nim: Update to 1.6.12.)
Date: Tue, 21 Mar 2023 15:45:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 21 Mar 2023 16:44:01 +0100
with message-id <dea1eb4980bc6b95c03d0985ccd61d23 <at> disroot.org>
and subject line close: Duplicate of #62341
has caused the debbugs.gnu.org bug report #62340,
regarding [PATCH] gnu: nim: Update to 1.6.12.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
62340: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62340
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Gruruya <greytest <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Gruruya <greytest <at> disroot.org>
Subject: [PATCH] gnu: nim: Update to 1.6.12.
Date: Tue, 21 Mar 2023 10:11:49 -0400
* 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 <at> spure <at> 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



[Message part 3 (message/rfc822, inline)]
From: greytest <greytest <at> disroot.org>
To: 62340-done <at> debbugs.gnu.org
Subject: close: Duplicate of #62341
Date: Tue, 21 Mar 2023 16:44:01 +0100
[Message part 4 (text/html, inline)]

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

Previous Next


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