substitute: Expose narinfo access.
authorLudovic Courtès <ludo@gnu.org>
Mon, 19 Oct 2015 21:12:34 +0000 (23:12 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 19 Oct 2015 21:12:34 +0000 (23:12 +0200)
commitea0c6e0507a6997f12a4f29d0445b51cf53bd81e
treeb16b754020bdd57ae447e253e9d9a473e9d30d57
parentc6f8e9dd64feb1ad174201277cf2ad0784f7d001
substitute: Expose narinfo access.

* guix/scripts/substitute.scm: Export <narinfo> accessors.
  (narinfo-hash->sha256): New procedure.
  (cache-narinfo!): Ignore EACCES exceptions.
guix/scripts/substitute.scm