From a0efb39ad4be5528e41288a8b6a8c2c2f41545a5 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 27 Sep 2014 23:59:18 +0200 Subject: gnu: mit-scheme: Rename top-level helper. Suggested by Mark H. Weaver. * gnu/packages/scheme.scm (source-directory): Rename to... (mit-scheme-source-directory): ... this. --- gnu/packages/scheme.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 168dc84ca5..13818ac023 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -37,10 +37,10 @@ #:use-module (gnu packages image) #:use-module (ice-9 match)) -(define (source-directory system version) +(define (mit-scheme-source-directory system version) (string-append "mit-scheme-" (if (or (string-prefix? "x86_64" system) - (string-prefix? "i686" system)) + (string-prefix? "i686" system)) "" "c-") version)) @@ -59,7 +59,8 @@ (lambda* (#:key inputs #:allow-other-keys) (and (zero? (system* "tar" "xzvf" (assoc-ref inputs "source"))) - (chdir ,(source-directory (%current-system) version)) + (chdir ,(mit-scheme-source-directory (%current-system) + version)) (begin ;; Delete these dangling symlinks since they break ;; `patch-shebangs'. -- cgit v1.2.3