all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Erik Edrosa <erik.edrosa@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] Remove extra .scm appended to guile-minikanren files
Date: Wed, 20 Apr 2016 16:55:30 -0400	[thread overview]
Message-ID: <5717ECC2.40504@gmail.com> (raw)

[-- 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


             reply	other threads:[~2016-04-20 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-20 20:55 Erik Edrosa [this message]
2016-04-24 21:47 ` [PATCH] Remove extra .scm appended to guile-minikanren files Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5717ECC2.40504@gmail.com \
    --to=erik.edrosa@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.