diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-05-19 23:27:48 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-21 01:35:14 +0200 |
commit | 97507ebedc8e1265c2ed354e50a218fb9ee6087b (patch) | |
tree | 1f2d983ff43dc210a2e1af3a918c023d0557ff81 /etc | |
parent | 3cabdead6fbe080d9466bb3130a2b36dd4b07090 (diff) | |
download | guix-97507ebedc8e1265c2ed354e50a218fb9ee6087b.tar.gz |
derivations: 'derivation' sorts items in the resulting object.
* guix/derivations.scm (derivation-input<?): New procedure. (write-derivation)[coalesce-duplicate-inputs]: Remove. Remove calls to 'sort'. (coalesce-duplicate-inputs): New procedure. (derivation-hash): Sort INPUTS and use 'coalesce-duplicate-inputs'. (derivation)[input->derivation-input] [coalesce-duplicate-inputs]: New procedures. Sort OUTPUTS, INPUTS, and ENV-VARS. * tests/derivations.scm ("read-derivation vs. derivation"): New test.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions