diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-11-09 00:07:10 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-11-09 00:07:10 +0100 |
commit | 7bdd1f0e3c99c64315c1a502b136fac0b78e716d (patch) | |
tree | 497a2489f0ee157aa34318424af6058256b377b5 /tests/test.drv | |
parent | 813986ac09b7fef9cf5ed8f2c9e4e37b2dea3eef (diff) | |
download | guix-7bdd1f0e3c99c64315c1a502b136fac0b78e716d.tar guix-7bdd1f0e3c99c64315c1a502b136fac0b78e716d.tar.gz |
derivations: build-expression->derivation: Builder only refers to sources.
* guix/derivations.scm (build-expression->derivation)[source-path]: New
procedure.
[builder]: Pass only sources as references. This fixes a bug whereby
changing a fixed-output drv referred to by a builder would cause the
builder's hash to change, thereby leading to a full rebuild.
* tests/derivations.scm ("build-expression->derivation with a
fixed-output input"): New test.
Diffstat (limited to 'tests/test.drv')
0 files changed, 0 insertions, 0 deletions