diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-05-08 15:39:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-08 16:35:32 +0200 |
commit | a0dac7a01f766e75dc73200a889f31c3920a2d98 (patch) | |
tree | 023dff5bf902e98641e6cd55185a9efb484f028e /guix.scm | |
parent | 15137a29c23e4beab7641b6c6191fdff9716dea4 (diff) | |
download | guix-a0dac7a01f766e75dc73200a889f31c3920a2d98.tar guix-a0dac7a01f766e75dc73200a889f31c3920a2d98.tar.gz |
profiles: Ensure the profile's etc/ directory is writable.
Reported by 宋文武 <iyzsong@gmail.com>.
* guix/build/profiles.scm (build-etc/profile,
ensure-writable-directory): New procedures.
(build-profile): Use them.
* tests/profiles.scm ("etc/profile when etc/ already exists"): New test.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions