aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-07Fix the order of environment variables in `derivation'.Ludovic Courtès
* guix/derivations.scm (derivation)[env-vars-with-empty-outputs]: Prepend new environment variables (as expected by Nix), and add them to E.
2012-06-05SRFI-64: Remove use of (ice-9 syntax-case).Ludovic Courtès
* srfi/srfi-64.upstream.scm [guile]: Remove use of (ice-9 syntax-case).
2012-06-05tests: Look up `test.drv' using `search-path'.Ludovic Courtès
* tests/derivations.scm ("parse & export"): Use `search-path' to find `test.drv'.
2012-06-05Test the `build-derivations' operation.Ludovic Courtès
* guix/derivations.scm (derivation): Return DRV as a second value. * tests/derivations.scm ("build derivation with 1 source"): New test.
2012-06-03Add the usual top-level files.Ludovic Courtès
2012-06-03First stab at the `derivation' primitive.Ludovic Courtès
* 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.
2012-06-03Add `bytevector->base16-string'.Ludovic Courtès
* guix/utils.scm (bytevector->base16-string): New procedure.
2012-06-03Fix `bytevector->nix-base32-string'.Ludovic Courtès
* guix/utils.scm (bytevector-quintet-ref-right, bytevector-quintet-fold): New procedures. (bytevector-quintet-fold-right): Add `quintet-fold' parameter; use it instead of `bytevector-quintet-fold'. (bytevector->base32-string): Pass BYTEVECTOR-QUINTET-FOLD as the first parameter. (bytevector->nix-base32-string): Pass BYTEVECTOR-QUINTET-FOLD-RIGHT as the first parameter. * tests/utils.scm ("sha256 & bytevector->nix-base32-string"): New test.
2012-06-03Move `sha256' to (guix utils).Ludovic Courtès
* guix/derivations.scm (sha256): Move to... * guix/utils.scm (sha256): ... here.
2012-06-02store: Raise error conditions upon protocol errors.Ludovic Courtès
* guix/store.scm (&nix-error, &nix-protocol-error): New SRFI-35 condition types. (process-stderr): Raise an error condition upon protocol errors instead of returning to the caller. This allows the connection to be reused for further interactions.
2012-06-01Add (guix utils), with `bytevector->base32-string'.Ludovic Courtès
* guix/utils.scm, tests/utils.scm: New files.
2012-06-01Use libchop for cryptographic hashes and related.Ludovic Courtès
* guix/derivations.scm (sha256): Rewrite using libchop's `bytevector-hash'. (derivation-hash): Add docstring.
2012-04-19Add unit test for derivation parsing and output.Ludovic Courtès
* 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.
2012-04-18Add `.gitignore'.Ludovic Courtès
2012-04-18Split (guix) in (guix store) and (guix derivations).Ludovic Courtès
* guix.scm: Move contents to other files. Just aggregate these. * guix/derivations.scm, guix/store.scm: New files.
2012-04-18Initial commit.Ludovic Courtès