guix/doc
Richard Sent f3ea876895
gexp: Add ‘assume-source-relative-file-name’.
* guix/gexp.scm (assume-source-relative-file-name): New macro.
(local-file): Use assume-source-relative-file-name to look up a non-literal
file relative to the current source directory.
* doc/guix.texi (G-expressions): Document it.
* tests/gexp.scm ("local-file, non-literal source relative file name"):
New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I18573c8c7a6c87e8351b34412f9d26bb23b068b4
2024-09-04 19:17:00 +02:00
..
images doc: Use "dejavu sans" instead of "Helvetica" or "sans" in dot images. 2024-04-14 10:29:07 +02:00
build.scm doc: build: Handle when guile source is packed with zstd. 2024-09-02 00:46:42 +02:00
contributing.texi doc: Introduce mumi before referring to it. 2024-06-26 22:49:36 +02:00
environment-gdb.scm doc: Update GDB "guix shell" example to use autoconf-2.69 2023-07-18 00:41:15 +02:00
fdl-1.3.texi
guix-cookbook.texi Replace some more occurrences of ‘setuid-programs’. 2024-08-18 02:00:00 +02:00
guix.texi gexp: Add ‘assume-source-relative-file-name’. 2024-09-04 19:17:00 +02:00
he-config-bare-bones.scm doc: Update example of a minimalistic home environment. 2022-06-10 22:42:49 +02:00
htmlxref.cnf nls: Update translations. 2024-06-03 00:27:12 +02:00
local.mk nls: Update translations. 2024-06-03 00:27:12 +02:00
package-hello.json import: Do not return package name with json importer. 2024-02-23 19:02:55 +01:00
package-hello.scm