Ludovic Courtès f43ffee908
gexp: 'local-file' warns when passed a non-literal relative file name.
Fixes <https://bugs.gnu.org/43736>.
Reported by Vitaliy Shatrov <guix.vits@disroot.org>.

* guix/gexp.scm (%local-file): Add #:literal? and #:location.
Emit a warning when LITERAL? is false and FILE is not absolute.
(local-file): In the non-literal case, pass #:location and #:literal?.
* po/guix/POTFILES.in: Add guix/gexp.scm.
* tests/guix-system.sh: Add test for the warning.
2020-10-02 08:11:38 +02:00
..
2019-05-01 10:49:52 +02:00
2020-03-23 00:06:58 +01:00
2020-04-12 00:18:05 +02:00
2019-05-01 10:49:52 +02:00
2020-04-12 00:18:05 +02:00
2020-07-27 12:06:37 +02:00
2019-05-01 10:49:52 +02:00
2020-04-02 14:57:37 +02:00
2019-05-01 10:49:52 +02:00
2020-04-12 00:18:05 +02:00
2019-05-01 10:49:52 +02:00
2019-08-25 22:48:41 +02:00
2020-04-02 14:57:37 +02:00
2019-05-01 10:49:52 +02:00
2018-02-12 11:20:48 -05:00