summaryrefslogtreecommitdiff
path: root/gnu/machine
diff options
context:
space:
mode:
authorMorgan Arnold <morgan.arnold@proton.me>2025-03-06 10:16:29 +0000
committerLudovic Courtès <ludo@gnu.org>2025-06-06 18:41:19 +0200
commitb5745a327e8dae21caaf10b59256dc7b16d54588 (patch)
tree209ab88d1fa10cce5be4d04943a71f25b4a0d0bc /gnu/machine
parenta54f3f3e2ab2e518cbb868fcc909fc7ba6b16f3f (diff)
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>
Diffstat (limited to 'gnu/machine')
0 files changed, 0 insertions, 0 deletions