nar: Produce archives with files sorted in C collation order.
authorLudovic Courtès <ludo@gnu.org>
Fri, 21 Feb 2014 19:17:29 +0000 (20:17 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 21 Feb 2014 22:49:53 +0000 (23:49 +0100)
commit96c7448f370227c9777a6acdac4ac65f1884fb43
treeba30d68dfab3493adcd3c5cc96cd774d818de180
parent36bbbbd150f75c2a6dab2473643c3723e606e41d
nar: Produce archives with files sorted in C collation order.

* guix/nar.scm (write-file) <directory>: Pass 'string<?' as the second
  argument to 'scandir'.
* tests/nar.scm ("write-file puts file in C locale collation order"):
  New test.
guix/nar.scm
tests/nar.scm