summaryrefslogtreecommitdiff
path: root/guix/derivations.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-04-19 23:09:55 +0200
committerLudovic Courtès <ludo@gnu.org>2012-04-19 23:09:55 +0200
commit341c6fdd824bfdaa97ea024cafc741efe9a62060 (patch)
tree9c09c73a9c4fd1b135ccc2f308c55791b19c56a2 /guix/derivations.scm
parent1054857d7a69b401f0ca317d28c86cadb285c719 (diff)
downloadgnu-guix-341c6fdd824bfdaa97ea024cafc741efe9a62060.tar
gnu-guix-341c6fdd824bfdaa97ea024cafc741efe9a62060.tar.gz
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.
Diffstat (limited to 'guix/derivations.scm')
-rw-r--r--guix/derivations.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix/derivations.scm b/guix/derivations.scm
index 81fc21565d..d0e90a9952 100644
--- a/guix/derivations.scm
+++ b/guix/derivations.scm
@@ -42,7 +42,10 @@
derivation-input-sub-derivations
fixed-output-derivation?
- derivation-hash))
+ derivation-hash
+
+ read-derivation
+ write-derivation))
;;;
;;; Nix derivations, as implemented in Nix's `derivations.cc'.