~ruther/guix-local

ref: 26bbbb95200b4fcd16bf92ee2593fccd9fe8f32d guix-local/tests/derivations.scm -rw-r--r-- 1.9 KiB
26bbbb95 — Ludovic Courtès 13 years ago
First stab at the `derivation' primitive.

* guix/store.scm (%store-prefix): New parameter.
  (store-path?, derivation-path?): New procedures.

* guix/derivations.scm (write-derivation): Pass SOURCES through
  `object->string'.
  (compressed-hash, store-path, output-path, derivation): New
  procedures.

* tests/derivations.scm (%store): New global variable.
  ("derivation with no inputs"): New test.
341c6fdd — Ludovic Courtès 14 years ago
Add unit test for derivation parsing and output.

* guix/derivations.scm: Export `read-derivation' and `write-derivation'.

* srfi/srfi-64.scm, srfi/srfi-64.upstream.scm: New files, from libchop.
* tests/derivations.scm, tests/test.drv: New files.