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

Previous Next

Package: guix-patches;

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

Date: Sat, 25 Mar 2023 12:36:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62439 in the body.
You can then email your comments to 62439 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#62439; Package guix-patches. (Sat, 25 Mar 2023 12:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gruruya <greytest <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 25 Mar 2023 12:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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: Sat, 25 Mar 2023 08:30:28 -0400
Without the attached patch, Nim is broken on Guix as it searches
for its stdlib in /lib while it was placed in /lib/nim.

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

diff --git a/gnu/packages/nim.scm b/gnu/packages/nim.scm
index 6da382119f..ebcff26c7b 100644
--- a/gnu/packages/nim.scm
+++ b/gnu/packages/nim.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2020 Tanguy Le Carrour <tanguy <at> bioneland.org>
 ;;; Copyright © 2022 (unmatched parenthesis <paren <at> disroot.org>
 ;;; Copyright © 2022 Trevor Richards <trev <at> trevdev.ca>
+;;; Copyright © 2023 Gruruya <greytest <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -36,14 +37,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 +56,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 +104,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)

base-commit: a7f118d062db4408b23505750c44a1f996496c43
-- 
2.40.0





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 06 Jun 2023 17:52:02 GMT) Full text and rfc822 format available.

Notification sent to Gruruya <greytest <at> disroot.org>:
bug acknowledged by developer. (Tue, 06 Jun 2023 17:52:02 GMT) Full text and rfc822 format available.

Message #10 received at 62439-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Gruruya <greytest <at> disroot.org>
Cc: 62439-done <at> debbugs.gnu.org
Subject: Re: [bug#62439] [PATCH] gnu: nim: Update to 1.6.12.
Date: Tue, 6 Jun 2023 20:51:43 +0300
[Message part 1 (text/plain, inline)]
Patch pushed! Thanks.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Jul 2023 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 288 days ago.

Previous Next


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