Partly revert "gnu: Remove now unneeded 'modules' fields from 'origin' specifications."

This partly reverts commit a3a1417dc7.

* gnu/packages/base.scm (glibc)[source]: Re-add 'modules' clause.
* gnu/packages/lsh.scm (lsh)[source]: Remove 'use-modules' form from
  'snippet'.  Add 'modules' field.
This commit is contained in:
Ludovic Courtès 2014-02-28 12:22:14 +01:00
parent 664b031031
commit 1faca892a3
2 changed files with 2 additions and 2 deletions

View File

@ -379,6 +379,7 @@ library for working with executable and object formats is also included.")
'(substitute* "sysdeps/unix/sysv/linux/configure" '(substitute* "sysdeps/unix/sysv/linux/configure"
(("use_ldconfig=yes") (("use_ldconfig=yes")
"use_ldconfig=no"))) "use_ldconfig=no")))
(modules '((guix build utils)))
(patches (list (search-patch "glibc-ldd-x86_64.patch"))))) (patches (list (search-patch "glibc-ldd-x86_64.patch")))))
(build-system gnu-build-system) (build-system gnu-build-system)

View File

@ -68,10 +68,9 @@ basis for almost any application.")
(sha256 (sha256
(base32 (base32
"1qqjy9zfzgny0rkb27c8c7dfsylvb6n0ld8h3an2r83pmaqr9gwb")) "1qqjy9zfzgny0rkb27c8c7dfsylvb6n0ld8h3an2r83pmaqr9gwb"))
(modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
(use-modules (guix build utils))
(substitute* "src/testsuite/functions.sh" (substitute* "src/testsuite/functions.sh"
(("localhost") (("localhost")
;; Avoid host name lookups since they don't work in ;; Avoid host name lookups since they don't work in