gremlin: Add support for the expansion of $ORIGIN in RUNPATH.
authorLudovic Courtès <ludo@gnu.org>
Thu, 23 Apr 2015 09:23:14 +0000 (11:23 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 23 Apr 2015 16:52:40 +0000 (18:52 +0200)
commitcd91504df27aa0f311735c61f3b7b7ee3fee861a
tree19136da033dd673077989ad0c6e02f89d3d2a043
parenta635ed5ccb78c8010e0368d1e82ad1f7ca1af5be
gremlin: Add support for the expansion of $ORIGIN in RUNPATH.

* guix/build/gremlin.scm (expand-variable, expand-origin): New
  procedures.
  (validate-needed-in-runpath): Map 'expand-origin' to the RUNPATH field
  of DYNINFO.
* tests/gremlin.scm ("expand-origin"): New test.
guix/build/gremlin.scm
tests/gremlin.scm