diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-04-19 23:09:55 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-04-19 23:09:55 +0200 |
commit | 341c6fdd824bfdaa97ea024cafc741efe9a62060 (patch) | |
tree | 9c09c73a9c4fd1b135ccc2f308c55791b19c56a2 /guix | |
parent | 1054857d7a69b401f0ca317d28c86cadb285c719 (diff) | |
download | gnu-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')
-rw-r--r-- | guix/derivations.scm | 5 |
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'. |