gremlin: Add 'set-file-runpath', 'file-runpath', and 'file-needed'.
authorLudovic Courtès <ludo@gnu.org>
Sat, 19 Sep 2020 12:04:41 +0000 (14:04 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 19 Sep 2020 15:28:46 +0000 (17:28 +0200)
commit49a1203d67a90a6a7ce4e4537697a6da96ceb213
tree3f3f111ef4ab78bcbcc43e5cef197d8bb28362fa
parente0f31baacc6ad30096a332b69433c85f5830bb2c
gremlin: Add 'set-file-runpath', 'file-runpath', and 'file-needed'.

* guix/build/gremlin.scm (file-dynamic-info, file-runpath, file-needed):
New procedures.
(&missing-runpath-error, &runpath-too-long-error): New condition types.
(set-file-runpath): New procedure.
* tests/gremlin.scm ("set-file-runpath + file-runpath"): New test.
guix/build/gremlin.scm
tests/gremlin.scm