Morgan Arnold
b5745a327e
publish: Prevent publication of non-substitutable derivation outputs.
...
This commit prevents Guix substitute servers from distributing binaries
which are marked non-substitutable. This prevents substitute servers
from accidentally committing copyright violations by distributing
binaries that are non-substitutable for copyright reasons.
* guix/scripts/publish.scm (render-nar): Query the derivers of
‘store-path’ and do nothing if one of them does not match
‘substitutable-derivation?’.
* tests/publish.scm ("non-substitutable derivation"): New test.
Change-Id: Iaca81f5bdb430a12a3ad41e9b83e0bcc535af607
Signed-off-by: Ludovic Courtès <ludo@gnu.org >
Modified-by: Ludovic Courtès <ludo@gnu.org >
2025-06-06 18:41:19 +02:00
..
2025-04-21 23:55:50 +02:00
2023-10-07 12:41:05 -04:00
2024-12-18 18:32:40 +01:00
2024-08-31 10:42:06 +02:00
2023-09-26 17:36:58 +02:00
2024-08-21 00:52:39 +02:00
2024-12-30 11:01:54 +01:00
2023-12-18 23:16:28 +01:00
2025-05-05 14:34:00 +02:00
2023-06-09 14:19:14 +02:00
2024-04-15 22:36:42 +02:00
2025-02-09 18:20:41 +01:00
2025-03-26 17:57:44 +01:00
2024-04-15 22:36:42 +02:00
2024-09-17 17:34:58 +02:00
2023-06-09 14:19:14 +02:00
2025-02-28 13:36:44 +09:00
2025-04-06 11:23:07 +02:00
2023-09-26 17:36:59 +02:00
2024-07-18 17:31:19 +02:00
2025-02-28 13:36:44 +09:00
2024-11-17 20:32:50 +09:00
2023-10-28 00:17:23 +02:00
2023-08-21 16:16:47 +02:00
2024-11-12 23:40:39 +01:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2025-05-09 23:07:11 +09:00
2023-04-21 16:16:38 +02:00
2024-05-13 16:31:35 +02:00
2025-05-24 12:48:05 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2024-05-01 17:26:18 +02:00
2023-09-26 17:36:57 +02:00
2023-04-21 16:16:38 +02:00
2025-05-21 08:05:27 +09:00
2023-11-15 18:29:37 +01:00
2023-04-21 16:16:38 +02:00
2023-10-28 01:30:37 +02:00
2023-04-21 17:09:46 +02:00
2023-04-21 16:16:38 +02:00
2024-12-14 00:34:28 +01:00
2025-05-19 10:07:24 +09:00
2024-12-14 01:28:49 +01:00
2023-12-06 23:50:04 +01:00
2025-02-09 18:20:41 +01:00
2024-06-13 22:34:00 +02:00
2024-03-11 22:12:34 +01:00
2023-12-03 16:15:29 +01:00
2024-06-03 22:58:53 +02:00
2025-01-16 22:32:11 +01:00
2025-02-28 13:36:44 +09:00
2022-12-26 17:15:06 +01:00
2025-04-15 10:21:33 +02:00
2025-01-24 23:36:04 +01:00
2024-06-03 22:58:53 +02:00
2024-08-31 10:42:16 +02:00
2025-03-05 00:28:49 +01:00
2023-04-07 17:56:07 +02:00
2025-04-13 14:19:43 +02:00
2024-04-15 22:36:42 +02:00
2025-01-24 23:52:49 +01:00
2025-03-26 17:57:44 +01:00
2022-12-12 15:03:05 +01:00
2024-09-28 00:20:18 +02:00
2025-03-26 17:57:44 +01:00
2024-08-31 10:42:49 +02:00
2025-06-06 18:41:19 +02:00
2024-12-30 11:01:54 +01:00
2025-02-24 23:33:51 +01:00
2023-06-04 10:59:28 +02:00
2023-02-19 21:13:23 -05:00
2025-03-05 00:28:49 +01:00
2024-04-15 22:36:42 +02:00
2024-12-30 00:51:57 +01:00
2024-05-25 16:44:42 +02:00
2023-08-18 16:10:08 +02:00
2025-04-25 20:25:54 +02:00
2024-06-03 22:58:52 +02:00
2023-12-04 22:26:36 +01:00
2024-03-09 18:55:49 +01:00
2025-04-20 18:50:51 +02:00
2022-10-22 01:46:55 +02:00
2025-05-06 11:25:06 +02:00
2025-01-20 21:37:36 +01:00
2025-05-05 12:15:47 +02:00
2022-12-13 17:46:39 +01:00
2025-01-08 23:03:04 +01:00
2024-04-15 22:36:42 +02:00