Go to file
Ludovic Courtès de4c3f26cb Allow derivations with input derivations.
* guix/derivations.scm (derivation-path->output-path): New procedure.
  (derivation-hash): Call `memoize'.  In the fixed-output case, convert
  HASH-ALGO to a string.  In the other case, sort inputs in the
  alphabetical order of their hex hash.  For inputs with no sub-drvs,
  add "out" as the sub-drv.

* guix/utils.scm (%nixpkgs-directory): New parameter.
  (nixpkgs-derivation, memoize): New procedures.

* tests/derivations.scm ("build derivation with 1 source"): Remove
  useless shebang.
  (%coreutils): New variable.
  ("build derivation with coreutils"): New test.
2012-06-07 23:15:00 +02:00
guix Allow derivations with input derivations. 2012-06-07 23:15:00 +02:00
srfi SRFI-64: Remove use of (ice-9 syntax-case). 2012-06-05 11:21:13 +02:00
tests Allow derivations with input derivations. 2012-06-07 23:15:00 +02:00
.gitignore Add unit test for derivation parsing and output. 2012-04-19 23:09:55 +02:00
AUTHORS Add the usual top-level files. 2012-06-03 23:46:56 +02:00
COPYING Add the usual top-level files. 2012-06-03 23:46:56 +02:00
guix.scm Split (guix) in (guix store) and (guix derivations). 2012-04-18 23:34:12 +02:00
README Add the usual top-level files. 2012-06-03 23:46:56 +02:00

Guix is Nix[0] from Guile[1]!

Concretely, it allows Nix package management to be done entirely in
Scheme. The goal is to investigate whether Scheme, and in particular
the ability to define EDSLs, would allow it to fulfill the role of the
Nix language.

[0] http://nixos.org/nix/
[1] http://gnu.org/software/guile/