1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-19 00:30:30 +02:00
Files
guix/guix
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-01-25 01:05:22 +08:00
2023-03-13 15:08:33 +01:00
2025-04-14 17:31:49 +02:00
2023-09-26 17:36:58 +02:00
2024-09-30 13:38:33 +03:00
2025-02-22 23:55:24 +09:00
2024-04-15 22:36:42 +02:00
2025-05-21 08:05:27 +09:00
2023-08-25 14:24:43 +02:00
2023-03-13 15:08:33 +01:00
2024-11-20 18:01:35 +08:00
2024-04-15 22:36:42 +02:00
2023-03-13 15:08:33 +01:00
2024-04-15 22:36:42 +02:00