summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-05 14:14:02 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-05 19:52:19 -0400
commitfd09e7b053c7e5dd24e5fb1b3cb9b2cc95a8bf7c (patch)
treede53877b8e9d829cfe32daeb670e90d59c47e348 /gnu/packages
parented9bc58938d0a28888701860c049fb02073f4c93 (diff)
downloadguix-fd09e7b053c7e5dd24e5fb1b3cb9b2cc95a8bf7c.tar.gz
gnu-maintenance: Do not crash on refresh when origin URI is a list.
Updating the simh package would fail with:

  ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure
  string-prefix?: Wrong type argument in position 2 (expecting
  string): ("http://simh.trailing-edge.com/sources/simhv312-4.zip"
  "http://simh.trailing-edge.com/sources/archive/simhv312-4.zip")

This is because it expects a scalar value, but lists are allowed for URIs.

* guix/gnu-maintenance.scm (import-html-updatable-release): Check that URI is
a string before checking if it has the mirror:// prefix.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions