summaryrefslogtreecommitdiff
path: root/guix/store.scm
AgeCommit message (Expand)Author
2012-06-03First 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. Ludovic Courtès
2012-06-02store: Raise error conditions upon protocol errors.•••* 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. Ludovic Courtès
2012-04-18Split (guix) in (guix store) and (guix derivations).•••* guix.scm: Move contents to other files. Just aggregate these. * guix/derivations.scm, guix/store.scm: New files. Ludovic Courtès