summary refs log tree commit diff
path: root/gnu/packages/patches/rust-1.30-gdb-llvm.patch
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 /gnu/packages/patches/rust-1.30-gdb-llvm.patch
parent3299530c4387fc897877f8a302ec1d0b84ed31a6 (diff)
downloadguix-39e67ed697951db0c75b0ba76269ca54108d9506.tar.gz
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 'gnu/packages/patches/rust-1.30-gdb-llvm.patch')
0 files changed, 0 insertions, 0 deletions