guix/tests
Ludovic Courtès 113c17a0c9 profiles: Gracefully deal with packages containing an etc/ symlink.
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.
2015-05-18 09:47:29 +02:00
..
base32.scm
base64.scm
build-utils.scm
builders.scm
cpan.scm
derivations.scm
gexp.scm
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build.sh
guix-daemon.sh
guix-download.sh
guix-gc.sh
guix-hash.sh
guix-lint.sh
guix-package-net.sh
guix-package.sh
guix-register.sh
guix-system.sh
hackage.scm
hash.scm
lint.scm
monads.scm
nar.scm
packages.scm
pk-crypto.scm
pki.scm
profiles.scm profiles: Gracefully deal with packages containing an etc/ symlink. 2015-05-18 09:47:29 +02:00
publish.scm
pypi.scm
records.scm
sets.scm
signing-key.pub
signing-key.sec
snix.scm
store.scm
substitute.scm
syscalls.scm
test.drv
ui.scm
union.scm
utils.scm