diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-08-21 22:39:41 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-08-24 18:01:05 +0200 |
commit | 93c333895a4e2dc9baabec8ade60d9d2ac0a91e2 (patch) | |
tree | bcf3902e7435df4334792fa59e5039776ff4bba0 /guix/grafts.scm | |
parent | e4297aa8b95cefa32e2595ce58886fc03b0561f7 (diff) | |
download | gnu-guix-93c333895a4e2dc9baabec8ade60d9d2ac0a91e2.tar gnu-guix-93c333895a4e2dc9baabec8ade60d9d2ac0a91e2.tar.gz |
grafts: Add (guix build debug-link) and use it.
Fixes <https://bugs.gnu.org/19973>.
Reported by Mark H Weaver <mhw@netris.org>.
* guix/build/debug-link.scm: New file.
* guix/build/graft.scm (%graft-hooks): New variable.
(graft): Add #:hooks and honor it.
* guix/grafts.scm (graft-derivation/shallow): Add (guix build
debug-link) and (guix elf) to #:modules.
* tests/debug-link.scm: New file.
* Makefile.am (MODULES): Add guix/build/debug-link.scm.
(SCM_TESTS): Add tests/debug-link.scm.
Diffstat (limited to 'guix/grafts.scm')
-rw-r--r-- | guix/grafts.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/grafts.scm b/guix/grafts.scm index 4b10b3efd7..f303e925f1 100644 --- a/guix/grafts.scm +++ b/guix/grafts.scm @@ -130,7 +130,9 @@ are not recursively applied to dependencies of DRV." #:system system #:guile-for-build guile #:modules '((guix build graft) - (guix build utils)) + (guix build utils) + (guix build debug-link) + (guix elf)) #:inputs `(,@(map (lambda (out) `("x" ,drv ,out)) outputs) |