aboutsummaryrefslogtreecommitdiff
path: root/CODE-OF-CONDUCT
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-09-10 23:37:48 +0200
committerLudovic Courtès <ludo@gnu.org>2018-09-11 00:14:58 +0200
commit2225d56a14a2d8d29374a14eefe90b3cffa79804 (patch)
treea591bd0ef10b0569442a4b4b2d8a516560a78cec /CODE-OF-CONDUCT
parentcbb0edd1be1f653d253258dfa90c8b45f288fb1b (diff)
downloadguix-2225d56a14a2d8d29374a14eefe90b3cffa79804.tar.gz
guix-2225d56a14a2d8d29374a14eefe90b3cffa79804.zip
profiles: Correctly deal with etc/ being a relative symlink.
Fixes <https://bugs.gnu.org/32686>. Reported by Oleg Pykhalov <go.wigust@gmail.com>. * guix/build/profiles.scm (ensure-writable-directory): Add #:symlink. [absolute?]: New procedure. [unsymlink]: Use it to determine how to resolve readlink's result. (build-profile): Pass SYMLINK to 'ensure-writable-directory'. * tests/profiles.scm ("profile-derivation when etc/ is a relative symlink"): New test.
Diffstat (limited to 'CODE-OF-CONDUCT')
0 files changed, 0 insertions, 0 deletions