guix-play/tests
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
..
keys
services
accounts.scm
base16.scm
base32.scm
base64.scm
boot-parameters.scm
bournish.scm
build-emacs-utils.scm
build-utils.scm build: utils: Raise error in modify-phases upon missing key. 2024-08-31 10:42:06 +02:00
builders.scm
cache.scm cache: Avoid cache cleanup storms from concurrent processes. 2024-08-21 00:52:39 +02:00
challenge.scm
channels.scm
combinators.scm
composer.scm
containers.scm
cpan.scm
cpio.scm
cran.scm
crate.scm import: crate: Emit new-style package inputs. 2024-08-31 10:44:36 +02:00
cve-sample.json
cve.scm
debug-link.scm
derivations.scm
discovery.scm
egg.scm
elm.scm import: utils: End package descriptions with period. 2024-06-03 22:58:53 +02:00
elpa.scm
file-systems.scm
gem.scm import: utils: End package descriptions with period. 2024-06-03 22:58:53 +02:00
gexp.scm gexp: Add ‘assume-source-relative-file-name’. 2024-09-04 19:17:00 +02:00
git-authenticate.scm
git.scm git: Remove untracked files from cached checkouts. 2024-07-18 17:31:19 +02:00
glob.scm
gnu-maintenance.scm
go.scm import: go: Emit new-style package inputs. 2024-08-31 10:44:36 +02:00
grafts.scm
graph.scm
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build-branch.sh
guix-build.sh guix build: Take ‘--system’ into account together with ‘-S’. 2024-07-18 17:31:18 +02:00
guix-daemon.sh
guix-describe.sh
guix-download.sh tests: Remove interference from the user’s Git config. 2024-05-13 16:31:35 +02:00
guix-environment-container.sh
guix-environment.sh
guix-gc.sh
guix-git-authenticate.sh
guix-graph.sh
guix-hash.sh
guix-home.sh
guix-lint.sh
guix-locate.sh
guix-pack-localstatedir.sh
guix-pack-relocatable.sh
guix-pack.sh
guix-package-aliases.sh
guix-package-net.sh
guix-package.sh
guix-refresh.sh
guix-repl.sh
guix-shell-export-manifest.sh
guix-shell.sh
guix-style.sh scripts: style: Add 'alphabetical-sort' option. 2024-09-03 13:59:33 +02:00
guix-system.sh tests: Adjust ‘guix system’ test for EFI bootloader. 2024-06-13 22:34:00 +02:00
guix-time-machine.sh
hackage.scm
hexpm.scm import: utils: End package descriptions with period. 2024-06-03 22:58:53 +02:00
home-import.scm
home-services.scm
http-client.scm
import-git.scm
import-github.scm
import-utils.scm tests: Fix ‘beautify-description’ test. 2024-06-13 21:47:38 +02:00
inferior.scm
ipfs.scm
lint.scm
minetest.scm import: utils: End package descriptions with period. 2024-06-03 22:58:53 +02:00
modules.scm build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-modules. 2024-08-31 10:42:16 +02:00
monads.scm
nar.scm
networking.scm
npm-binary.scm import: Add binary npm importer. 2024-05-19 16:05:00 +02:00
offload.scm
opam.scm
openpgp.scm
pack.scm pack: Create /tmp in Apptainer images. 2024-07-10 16:00:36 +02:00
packages.scm
pki.scm
print.scm
processes.scm
profiles.scm profiles: Use C.UTF-8 instead of ‘glibc-utf8-locales’ where possible. 2024-08-31 10:42:49 +02:00
publish.scm
pypi.scm import: utils: End package descriptions with period. 2024-06-03 22:58:53 +02:00
read-print.scm
records.scm
rpm.scm
scripts.scm
search-paths.scm
services.scm
sets.scm
size.scm
status.scm
store-database.scm
store-deduplication.scm deduplication: Detect holes and create sparse files. 2024-05-25 16:44:42 +02:00
store-roots.scm
store.scm
style.scm style: Fix conversion of ‘unquote-splicing’ by ‘-S arguments’. 2024-06-03 22:58:52 +02:00
substitute.scm
swh.scm
syscalls.scm syscalls: Add ‘mode’ parameter to ‘lock-file’. 2024-08-21 00:52:38 +02:00
system.scm
test.drv
texlive.scm guix: import texlive: Add UPSTREAM-NAME property when necessary. 2024-08-31 10:45:37 +02:00
transformations.scm
ui.scm
union.scm
upstream.scm
utils.scm
uuid.scm
workers.scm