From 2363bdd707ba382d89c96e03c04038c047d7228c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 19 Apr 2017 16:11:25 +0200 Subject: gexp: 'gexp-modules' accepts plain Scheme objects. * guix/gexp.scm (gexp-modules): Return '() when not (gexp? GEXP). * tests/gexp.scm ("gexp-modules and literal Scheme object"): New test. --- tests/gexp.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/gexp.scm') diff --git a/tests/gexp.scm b/tests/gexp.scm index 41a53ae5a4..cf88a9db80 100644 --- a/tests/gexp.scm +++ b/tests/gexp.scm @@ -627,6 +627,10 @@ #~(foo #$@(list (with-imported-modules '((foo)) #~+) (with-imported-modules '((bar)) #~-))))) +(test-equal "gexp-modules and literal Scheme object" + '() + (gexp-modules #t)) + (test-assertm "gexp->derivation #:modules" (mlet* %store-monad ((build -> #~(begin -- cgit v1.2.3 o Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/axoloti.scm
AgeCommit message (Expand)Author
2023-01-08gnu: Move Java XML packages to new module....Ricardo Wurmus
2022-11-11gnu: axoloti: Remove unused module import....Marius Bakke