113c17a0c9
This fixes a bug whereby 'guix package -i gcc-toolchain' would fail in 'build-profile'. This is because in 'gcc-toolchain', etc/ is a symlink, and so the 'scandir' call in 'unsymlink' would return #f instead of returning a list. Reported by Andreas Enge <andreas.enge@inria.fr>. * guix/build/profiles.scm (ensure-writable-directory)[unsymlink]: Append "/" to TARGET before calling 'scandir'. * tests/profiles.scm ("etc/profile when etc/ is a symlink"): New test. |
||
---|---|---|
.. | ||
build | ||
build-system | ||
import | ||
scripts | ||
base32.scm | ||
base64.scm | ||
build-system.scm | ||
config.scm.in | ||
cvs-download.scm | ||
derivations.scm | ||
download.scm | ||
elf.scm | ||
ftp-client.scm | ||
gcrypt.scm | ||
gexp.scm | ||
git-download.scm | ||
gnu-maintenance.scm | ||
gnupg.scm | ||
hash.scm | ||
http-client.scm | ||
licenses.scm | ||
monad-repl.scm | ||
monads.scm | ||
nar.scm | ||
packages.scm | ||
pk-crypto.scm | ||
pki.scm | ||
profiles.scm | ||
records.scm | ||
search-paths.scm | ||
serialization.scm | ||
sets.scm | ||
store.scm | ||
svn-download.scm | ||
tests.scm | ||
ui.scm | ||
utils.scm |