packages: 'package-field-location' really catches 'system-error.
authorLudovic Courtès <ludo@gnu.org>
Mon, 9 Sep 2019 08:19:59 +0000 (10:19 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 9 Sep 2019 22:34:40 +0000 (00:34 +0200)
This had been wrong since forever (i.e., 2013).

* guix/packages.scm (package-field-location): Catch 'system-error, not
'system.

guix/packages.scm

index 143417b..b92ed0a 100644 (file)
@@ -351,7 +351,7 @@ object."
 
   (match (package-location package)
     (($ <location> file line column)
-     (catch 'system
+     (catch 'system-error
        (lambda ()
          ;; In general we want to keep relative file names for modules.
          (with-fluids ((%file-port-name-canonicalization 'relative))