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-06-06 14:41:30 +03:00
2025-05-26 10:41:03 +08:00
2025-05-24 15:29:10 +02:00
2025-01-25 01:05:22 +08:00
2025-06-06 18:41:19 +02:00
2024-05-25 16:44:42 +02:00
2023-05-31 23:25:24 +02:00
2023-05-11 13:23:08 +02:00
2023-07-11 15:47:56 +02:00
2023-03-13 15:08:33 +01:00
2024-03-09 18:55:50 +01:00
2025-04-14 17:31:49 +02:00
2025-05-23 11:19:07 +02:00
2024-07-23 16:24:38 +02:00
2023-09-26 17:36:58 +02:00
2024-09-30 13:38:33 +03:00
2024-03-09 18:55:50 +01:00
2023-12-22 17:47:15 +01:00
2025-02-22 23:55:24 +09:00
2025-03-08 17:40:58 +01:00
2023-05-31 23:25:25 +02:00
2024-04-15 22:36:42 +02:00
2025-06-03 15:09:54 +02:00
2025-04-03 22:28:10 +09:00
2023-05-04 13:08:59 +02:00
2025-05-21 08:05:27 +09:00
2025-04-14 17:31:50 +02:00
2024-08-31 10:44:46 +02:00
2025-05-18 22:55:53 +02:00
2025-05-17 13:10:11 +09:00
2025-02-28 13:36:44 +09:00
2025-01-28 14:56:14 +01:00
2023-08-25 14:24:43 +02:00
2024-07-23 16:27:27 +02:00
2024-06-12 09:45:44 +02:00
2025-04-14 17:31:50 +02:00
2024-12-25 23:51:10 +01:00
2023-03-13 15:08:33 +01:00
2025-04-19 21:13:21 +09:00
2024-11-20 18:01:35 +08:00
2025-05-06 11:25:06 +02:00
2025-04-11 12:18:02 +02:00
2024-07-18 17:31:19 +02:00
2023-12-04 22:26:38 +01:00
2025-03-05 00:28:49 +01:00
2024-04-15 22:36:42 +02:00
2023-05-30 00:15:29 +02:00
2025-04-25 20:25:27 +02:00
2023-03-13 15:08:33 +01:00
2023-12-11 13:50:48 +02:00
2025-05-06 11:25:06 +02:00
2023-11-25 16:29:25 +01:00
2025-02-09 01:00:00 +01:00
2024-11-18 10:58:42 +01:00
2024-12-12 12:52:08 +01:00
2024-04-15 22:36:42 +02:00
2025-03-18 16:12:38 +09:00
2025-04-20 17:58:11 +02:00
2023-03-13 15:08:33 +01:00
2025-02-09 18:20:42 +01:00
2023-04-12 08:29:37 -04:00
2025-03-05 00:28:49 +01:00
2025-04-14 17:31:50 +02:00
2024-08-31 10:45:36 +02:00
2024-06-26 23:56:56 +02:00
2024-08-01 10:32:31 +01:00
2025-05-05 12:15:47 +02:00
2025-05-09 23:05:26 +09:00
2025-04-27 13:01:48 +01:00
2025-04-14 17:31:49 +02:00