summaryrefslogtreecommitdiff
path: root/guix/gexp.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-03-15 21:59:19 +0100
committerLudovic Courtès <ludo@gnu.org>2015-03-17 22:25:54 +0100
commita482cfdcaee493a0ce796b4cd2059c46fce6d14d (patch)
treee9e31d9e21b3e20f02bb32fafcf6fc06558be834 /guix/gexp.scm
parentb4a4bec01a8b990dc4108060a645512f9b428aac (diff)
downloadgnu-guix-a482cfdcaee493a0ce796b4cd2059c46fce6d14d.tar
gnu-guix-a482cfdcaee493a0ce796b4cd2059c46fce6d14d.tar.gz
gexp: Remove special meaning of forms (PACKAGE OUTPUT) in ungexp.
* guix/gexp.scm (gexp-inputs)[add-reference-inputs]: Remove clause for inputs of the form (PACKAGE OUTPUT). (gexp->sexp)[reference->sexp]: Likewise. * tests/gexp.scm ("input list splicing"): Change 'list' to 'gexp-input' for glibc:debug. ("text-file*"): Likewise for %bootstrap-guile:out. ("input list splicing + gexp-input + ungexp-native-splicing"): Remove, now redundant.
Diffstat (limited to 'guix/gexp.scm')
-rw-r--r--guix/gexp.scm11
1 files changed, 0 insertions, 11 deletions
diff --git a/guix/gexp.scm b/guix/gexp.scm
index 76ce2678fb..353c46398a 100644
--- a/guix/gexp.scm
+++ b/guix/gexp.scm
@@ -312,10 +312,6 @@ references."
(if (direct-store-path? str)
(cons `(,str) result)
result))
- (($ <gexp-input> ((? package? p) (? string? output)) _ native?)
- ;; XXX: For now, for backward-compatibility, automatically convert a
- ;; pair like this to an gexp-input for OUTPUT of P.
- (add-reference-inputs (gexp-input p output native?) result))
(($ <gexp-input> (lst ...) output native?)
(fold-right add-reference-inputs result
;; XXX: For now, automatically convert LST to a list of
@@ -373,13 +369,6 @@ and in the current monad setting (system type, etc.)"
#:output output
#:system system
#:target (if (or n? native?) #f target)))
- (($ <gexp-input> ((? package? p) (? string? output)) _ n?)
- ;; XXX: For backward compatibility, automatically interpret such a
- ;; pair.
- (package-file p
- #:output output
- #:system system
- #:target (if (or n? native?) #f target)))
(($ <gexp-input> (? origin? o) output)
(mlet %store-monad ((drv (origin->derivation o)))
(return (derivation->output-path drv output))))