[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: guile-gi: Patch all references to libguile-gi.
From: |
guix-commits |
Subject: |
02/02: gnu: guile-gi: Patch all references to libguile-gi. |
Date: |
Sun, 3 Jan 2021 13:19:31 -0500 (EST) |
leoprikler pushed a commit to branch master
in repository guix.
commit d414327a2e3466064b1b3efce08c0cda4f7c7bb1
Author: Leo Prikler <leo.prikler@student.tugraz.at>
AuthorDate: Sun Jan 3 19:15:00 2021 +0100
gnu: guile-gi: Patch all references to libguile-gi.
* gnu/packages/guile-xyz.scm (guile-gi)[patch-references-to-extension]:
Use find-files to discover all modules.
---
gnu/packages/guile-xyz.scm | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 10f5518..0b245c4 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2875,11 +2875,7 @@ list of components. This module takes care of that for
you.")
(open-pipe* OPEN_READ
"guile" "-c"
"(display (effective-version))"))))
- (substitute* '("module/gi.scm"
- "module/gi/oop.scm"
- "module/gi/documentation.scm"
- "module/gi/types.scm"
- "module/gi/repository.scm")
+ (substitute* (find-files "module" ".*\\.scm")
(("\\(load-extension \"libguile-gi\" \"(.*)\"\\)" m arg)
(format #f "~s"
`(load-extension