guix/tests
Ludovic Courtès 667b250846 gexp: Add 'ungexp-native' and 'ungexp-native-splicing'.
* guix/gexp.scm (<gexp>)[natives]: New field.
  (write-gexp): Use both 'gexp-references' and
  'gexp-native-references'.
  (gexp->derivation): Use both 'gexp-inputs' and 'gexp-native-inputs',
  and append them.
  (gexp-inputs): Add 'references' parameter and honor it.
  (gexp-native-inputs): New procedure.
  (gexp->sexp)[reference->sexp]: Add 'native?' parameter and honor it.
  Use it, and use 'gexp-native-references'.
  (gexp)[collect-native-escapes]: New procedure.
  [escape->ref]: Handle 'ungexp-native' and 'ungexp-native-splicing'.
  [substitute-ungexp, substitute-ungexp-splicing]: New procedures.
  [substitute-references]: Use them, and handle 'ungexp-native' and
  'ungexp-native-splicing'.
  Adjust generated 'make-gexp' call to provide both normal references
  and native references.
  [read-ungexp]: Support 'ungexp-native' and
  'ungexp-native-splicing'.
  Add reader extension for #+.
* tests/gexp.scm (gexp-native-inputs): New procedure.
  (gexp->sexp*): Add 'target' parameter.
  ("ungexp + ungexp-native",
  "input list + ungexp-native",
  "input list splicing + ungexp-native-splicing",
  "gexp->derivation, ungexp-native",
  "gexp->derivation, ungexp + ungexp-native"): New tests.
  ("sugar"): Add tests for #+ and #+@.
* doc/guix.texi (G-Expressions): Document 'ungexp-native' et al.
2014-08-18 15:01:58 +02:00
..
base32.scm
base64.scm substitute-binary: Support the Signature field of a narinfo file. 2014-03-30 12:02:10 +02:00
build-utils.scm
builders.scm
derivations.scm derivations: Add #:allowed-references 'derivation' parameter. 2014-06-01 23:32:26 +02:00
gexp.scm gexp: Add 'ungexp-native' and 'ungexp-native-splicing'. 2014-08-18 15:01:58 +02:00
guix-archive.sh tests: Make sure 'guix archive --import' succeeds. 2014-03-29 22:59:46 +01:00
guix-authenticate.sh authenticate: Allow signatures with binary data to be written to stdout. 2014-04-22 11:30:58 +02:00
guix-build.sh guix build: Allow gexps to be passed to '-e'. 2014-06-14 22:55:59 +02:00
guix-daemon.sh
guix-download.sh
guix-gc.sh
guix-hash.sh
guix-package.sh tests: Make sure --search="" works. 2014-07-25 17:56:14 +02:00
guix-register.sh build: Fix typo that would lead to hitting the socket name length limit. 2014-07-20 22:39:02 +02:00
guix-system.sh guix {system,offload}: Improve reporting of syntax errors. 2014-06-27 00:12:40 +02:00
hash.scm
monads.scm monads: 'package-file' uses '%current-system' at '>>=' time. 2014-08-17 21:08:06 +02:00
nar.scm
packages.scm
pk-crypto.scm authenticate: Allow signatures with binary data to be written to stdout. 2014-04-22 11:30:58 +02:00
pki.scm pki: Add 'signature-case' macro. 2014-03-31 23:34:20 +02:00
profiles.scm profiles: Add 'manifest-add'. 2014-08-12 16:03:33 +02:00
records.scm records: Report unknown field names in inheriting forms. 2014-07-17 16:45:45 +02:00
signing-key.pub
signing-key.sec
snix.scm
store.scm store: (direct-store-path? (%store-prefix)) returns #f. 2014-04-28 23:24:18 +02:00
substitute-binary.scm Use 'signature-case' in (guix nar) and 'substitute-binary'. 2014-03-31 23:47:02 +02:00
syscalls.scm syscalls: Be more permissive in 'umount' test. 2014-05-27 22:36:54 +02:00
test.drv
ui.scm ui: Fix handling of periods by fill-paragraph. 2014-08-11 18:27:03 +02:00
union.scm tests: Add 'union-build' test for <http://bugs.gnu.org/17083>. 2014-04-02 23:08:44 +02:00
utils.scm guix: utils: Add fold-tree and fold-tree-leaves. 2014-07-20 11:36:09 -05:00