diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-03-11 23:20:50 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-03-17 22:25:54 +0100 |
commit | e39d1461078837a13d50f48eb2b8dff2bdbd9856 (patch) | |
tree | 4642eb0c699f2decedb75653802caaf3d9134e44 /tests | |
parent | 1e87da58a160d75ba3f5356809a715c04ae31697 (diff) | |
download | gnu-guix-e39d1461078837a13d50f48eb2b8dff2bdbd9856.tar gnu-guix-e39d1461078837a13d50f48eb2b8dff2bdbd9856.tar.gz |
gexp: Add <gexp-input>.
* guix/gexp.scm (<gexp-input>): New record type.
(gexp-inputs)[add-reference-inputs]: Adjust clauses to expect
<gexp-input> objects.
(gexp-outputs)[add-reference-output]: Likewise.
(gexp->sexp)[reference->sexp]: Likewise.
(canonicalize-reference): Remove.
(gexp)[escape->ref]: Use 'gexp-input' for all the references.
Remove use of 'canonicalize-reference'.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/profiles.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/profiles.scm b/tests/profiles.scm index 1bac9d94e6..7b942e35b0 100644 --- a/tests/profiles.scm +++ b/tests/profiles.scm @@ -25,6 +25,7 @@ #:use-module (guix packages) #:use-module (guix derivations) #:use-module (gnu packages bootstrap) + #:use-module ((gnu packages base) #:prefix packages:) #:use-module (ice-9 match) #:use-module (ice-9 regex) #:use-module (srfi srfi-11) @@ -191,6 +192,14 @@ (string=? (dirname (readlink bindir)) (derivation->output-path guile)))))) +(test-assertm "profile-derivation, inputs" + (mlet* %store-monad + ((entry -> (package->manifest-entry packages:glibc "debug")) + (drv (profile-derivation (manifest (list entry)) + #:info-dir? #f + #:ca-certificate-bundle? #f))) + (return (derivation-inputs drv)))) + (test-end "profiles") |