all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Remove extra .scm appended to guile-minikanren files
@ 2016-04-20 20:55 Erik Edrosa
  2016-04-24 21:47 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Erik Edrosa @ 2016-04-20 20:55 UTC (permalink / raw)
  To: guix-devel

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

Hello Guix,

Was looking to play around with minikanren so I installed
guile-minikanren on guix and noticed the scheme files had an extra .scm
appended to them when installed. So this patch removes them from the files.

Thanks,
Erik

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-guile-minikanren-Remove-extra-.scm-on-files.patch --]
[-- Type: text/x-patch; name="0001-gnu-guile-minikanren-Remove-extra-.scm-on-files.patch", Size: 1463 bytes --]

From ddc117f8c04406a4ddc6a1ccf3a7510182d8b678 Mon Sep 17 00:00:00 2001
From: Erik Edrosa <erik.edrosa@gmail.com>
Date: Wed, 20 Apr 2016 16:22:36 -0400
Subject: [PATCH] gnu: guile-minikanren: Remove extra .scm on files.

* gnu/packages/guile.scm (guile-minikanren): Remove extra .scm appended
to files.
---
 gnu/packages/guile.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index e247634..f978a42 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2015 Christopher Allan Webber <cwebber@dustycloud.org>
 ;;; Copyright © 2016 Alex Sassmannshausen <alex@pompo.co>
 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016 Erik Edrosa <erik.edrosa@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -529,7 +530,7 @@ http:://json.org specification.  These are the main features:
            (setenv "GUILE_AUTO_COMPILE" "0")
            (for-each (lambda (file)
                        (let* ((dest-file (string-append module-dir "/"
-                                                        file ".scm"))
+                                                        file))
                               (go-file (match (string-split file #\.)
                                          ((base _)
                                           (string-append module-dir "/"
-- 
2.5.5


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

* Re: [PATCH] Remove extra .scm appended to guile-minikanren files
  2016-04-20 20:55 [PATCH] Remove extra .scm appended to guile-minikanren files Erik Edrosa
@ 2016-04-24 21:47 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-04-24 21:47 UTC (permalink / raw)
  To: Erik Edrosa; +Cc: guix-devel

Erik Edrosa <erik.edrosa@gmail.com> skribis:

> Was looking to play around with minikanren so I installed
> guile-minikanren on guix and noticed the scheme files had an extra .scm
> appended to them when installed. So this patch removes them from the files.

Indeed.

> From ddc117f8c04406a4ddc6a1ccf3a7510182d8b678 Mon Sep 17 00:00:00 2001
> From: Erik Edrosa <erik.edrosa@gmail.com>
> Date: Wed, 20 Apr 2016 16:22:36 -0400
> Subject: [PATCH] gnu: guile-minikanren: Remove extra .scm on files.
>
> * gnu/packages/guile.scm (guile-minikanren): Remove extra .scm appended
> to files.

Applied, thanks!

Ludo’.

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

end of thread, other threads:[~2016-04-24 21:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-20 20:55 [PATCH] Remove extra .scm appended to guile-minikanren files Erik Edrosa
2016-04-24 21:47 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.