summaryrefslogtreecommitdiff
path: root/tests/derivations.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-04 16:15:21 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-04 16:42:46 -0500
commit39e67ed697951db0c75b0ba76269ca54108d9506 (patch)
tree9280857af12c7e90fa3837e981141b0be0616686 /tests/derivations.scm
parent3299530c4387fc897877f8a302ec1d0b84ed31a6 (diff)
build/gnu: Only make source checkout files writable.
This is a followup commit to 6129ebddbd. It was suggested by Ludovic in #guix that it's probably safer to leave files extracted from a tarball alone. While at it, guard against possible exceptions that can happen in the presence of dangling symbolic links, for example. * guix/build/gnu-build-system.scm (unpack): Wrap the make-file-writable call in a false-if-exception handler. Move the for-each loop under the file-is-directory? cond branch.
Diffstat (limited to 'tests/derivations.scm')
0 files changed, 0 insertions, 0 deletions