unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#54503] [PATCH] gnu: sbcl-ningle: Update to 2e85675.
@ 2022-03-21 16:35 jgart via Guix-patches via
  2022-03-21 18:40 ` Maxime Devos
  2022-03-21 18:56 ` [bug#54503] [PATCH v2] " jgart via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: jgart via Guix-patches via @ 2022-03-21 16:35 UTC (permalink / raw)
  To: 54503; +Cc: Guillaume Le Vaillant, jgart

* gnu/packages/lisp-xyz.scm (sbcl-ningle): Update to 2e85675.
[arguments]: Remove custom phase that changes the name of compiled files
causing a permission denied error when loading ningle.
See this discussion:
https://lists.gnu.org/archive/html/help-guix/2021-12/msg00067.html

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>

Hi Guillaume,

Here is an upgrade to ningle that also fixes what we were discussing at 
https://lists.gnu.org/archive/html/help-guix/2021-12/msg00067.html

I added you as co-author. Thank you!

all best,

jgart

---
 gnu/packages/lisp-xyz.scm | 32 ++++----------------------------
 1 file changed, 4 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 85f8af31bb..cbb8e1b851 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -4826,8 +4826,8 @@ (define-public ecl-trivial-mimes
   (sbcl-package->ecl-package sbcl-trivial-mimes))
 
 (define-public sbcl-ningle
-  (let ((commit "50bd4f09b5a03a7249bd4d78265d6451563b25ad")
-        (revision "1"))
+  (let ((commit "2e85675bbb668d6ef341514fc9f22391a0f506b1")
+        (revision "2"))
     (package
       (name "sbcl-ningle")
       (version (git-version "0.3.0" revision commit))
@@ -4839,34 +4839,10 @@ (define-public sbcl-ningle
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "1bsl8cnxhacb8p92z9n89vhk1ikmij5zavk0m2zvmj7iqm79jzgw"))))
+          (base32 "0s9nn8ml1j4839rycvdjcbsynkqnhxw1zmrgpjz48smscwdf1f8p"))))
       (build-system asdf-build-system/sbcl)
       (arguments
-       ;; TODO: pull in clack-test
-       '(#:tests? #f
-         #:phases
-         (modify-phases %standard-phases
-           (delete 'cleanup-files)
-           (delete 'cleanup)
-           (add-before 'cleanup 'combine-fasls
-             (lambda* (#:key outputs #:allow-other-keys)
-               (let* ((out (assoc-ref outputs "out"))
-                      (lib (string-append out "/lib/sbcl"))
-                      (ningle-path (string-append lib "/ningle"))
-                      (fasl-files (find-files out "\\.fasl$")))
-                 (mkdir-p ningle-path)
-                 (let ((fasl-path (lambda (name)
-                                    (string-append ningle-path
-                                                   "/"
-                                                   (basename name)
-                                                   "--system.fasl"))))
-                   (for-each (lambda (file)
-                               (rename-file file
-                                            (fasl-path
-                                             (basename file ".fasl"))))
-                             fasl-files))
-                 fasl-files)
-               #t)))))
+       '(#:tests? #f))
       (native-inputs
        (list sbcl-prove))
       (inputs
-- 
2.34.0





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

* [bug#54503] [PATCH] gnu: sbcl-ningle: Update to 2e85675.
  2022-03-21 16:35 [bug#54503] [PATCH] gnu: sbcl-ningle: Update to 2e85675 jgart via Guix-patches via
@ 2022-03-21 18:40 ` Maxime Devos
  2022-03-21 18:56 ` [bug#54503] [PATCH v2] " jgart via Guix-patches via
  1 sibling, 0 replies; 4+ messages in thread
From: Maxime Devos @ 2022-03-21 18:40 UTC (permalink / raw)
  To: jgart, 54503; +Cc: Guillaume Le Vaillant

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

jgart via Guix-patches via schreef op ma 21-03-2022 om 12:35 [-0400]:
> -       ;; TODO: pull in clack-test

Why is this comment removed?  Tests are still disabled.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#54503] [PATCH v2] gnu: sbcl-ningle: Update to 2e85675.
  2022-03-21 16:35 [bug#54503] [PATCH] gnu: sbcl-ningle: Update to 2e85675 jgart via Guix-patches via
  2022-03-21 18:40 ` Maxime Devos
@ 2022-03-21 18:56 ` jgart via Guix-patches via
  2022-03-23  8:54   ` bug#54503: " Guillaume Le Vaillant
  1 sibling, 1 reply; 4+ messages in thread
From: jgart via Guix-patches via @ 2022-03-21 18:56 UTC (permalink / raw)
  To: 54503; +Cc: Guillaume Le Vaillant, Maxime Devos, jgart

* gnu/packages/lisp-xyz.scm (sbcl-ningle): Update to 2e85675.
[arguments]: Remove custom phase that changes the name of compiled files
causing a permission denied error when loading ningle.
See this discussion:
https://lists.gnu.org/archive/html/help-guix/2021-12/msg00067.html

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>

Hi Maxime,

Thanks for catching that. I added it back in this v2.

all best,

jgart

---
 gnu/packages/lisp-xyz.scm | 32 ++++----------------------------
 1 file changed, 4 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 85f8af31bb..d6923314af 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -4826,8 +4826,8 @@ (define-public ecl-trivial-mimes
   (sbcl-package->ecl-package sbcl-trivial-mimes))
 
 (define-public sbcl-ningle
-  (let ((commit "50bd4f09b5a03a7249bd4d78265d6451563b25ad")
-        (revision "1"))
+  (let ((commit "2e85675bbb668d6ef341514fc9f22391a0f506b1")
+        (revision "2"))
     (package
       (name "sbcl-ningle")
       (version (git-version "0.3.0" revision commit))
@@ -4839,34 +4839,10 @@ (define-public sbcl-ningle
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "1bsl8cnxhacb8p92z9n89vhk1ikmij5zavk0m2zvmj7iqm79jzgw"))))
+          (base32 "0s9nn8ml1j4839rycvdjcbsynkqnhxw1zmrgpjz48smscwdf1f8p"))))
       (build-system asdf-build-system/sbcl)
       (arguments
-       ;; TODO: pull in clack-test
-       '(#:tests? #f
-         #:phases
-         (modify-phases %standard-phases
-           (delete 'cleanup-files)
-           (delete 'cleanup)
-           (add-before 'cleanup 'combine-fasls
-             (lambda* (#:key outputs #:allow-other-keys)
-               (let* ((out (assoc-ref outputs "out"))
-                      (lib (string-append out "/lib/sbcl"))
-                      (ningle-path (string-append lib "/ningle"))
-                      (fasl-files (find-files out "\\.fasl$")))
-                 (mkdir-p ningle-path)
-                 (let ((fasl-path (lambda (name)
-                                    (string-append ningle-path
-                                                   "/"
-                                                   (basename name)
-                                                   "--system.fasl"))))
-                   (for-each (lambda (file)
-                               (rename-file file
-                                            (fasl-path
-                                             (basename file ".fasl"))))
-                             fasl-files))
-                 fasl-files)
-               #t)))))
+       '(#:tests? #f)) ; TODO: pull in clack-test
       (native-inputs
        (list sbcl-prove))
       (inputs
-- 
2.34.0





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

* bug#54503: [PATCH v2] gnu: sbcl-ningle: Update to 2e85675.
  2022-03-21 18:56 ` [bug#54503] [PATCH v2] " jgart via Guix-patches via
@ 2022-03-23  8:54   ` Guillaume Le Vaillant
  0 siblings, 0 replies; 4+ messages in thread
From: Guillaume Le Vaillant @ 2022-03-23  8:54 UTC (permalink / raw)
  To: jgart; +Cc: 54503-done

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

Patch pushed as 297a5b74c37fd11b4b73e353ae9ab1b7cb2ae7ac.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

end of thread, other threads:[~2022-03-23  8:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-21 16:35 [bug#54503] [PATCH] gnu: sbcl-ningle: Update to 2e85675 jgart via Guix-patches via
2022-03-21 18:40 ` Maxime Devos
2022-03-21 18:56 ` [bug#54503] [PATCH v2] " jgart via Guix-patches via
2022-03-23  8:54   ` bug#54503: " Guillaume Le Vaillant

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).