diff options
author | Leo Prikler <leo.prikler@student.tugraz.at> | 2021-01-03 19:15:00 +0100 |
---|---|---|
committer | Leo Prikler <leo.prikler@student.tugraz.at> | 2021-01-03 19:18:55 +0100 |
commit | d414327a2e3466064b1b3efce08c0cda4f7c7bb1 (patch) | |
tree | 18044cf6e211d945b2c51fdc214d437b75c4c06e /gnu | |
parent | 8ab084951fd2e1d72313096be8d5cb8cf8c6c90b (diff) | |
download | guix-d414327a2e3466064b1b3efce08c0cda4f7c7bb1.tar guix-d414327a2e3466064b1b3efce08c0cda4f7c7bb1.tar.gz |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/guile-xyz.scm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 10f55184cd..0b245c424e 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 |