guix-devel/guix
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
..
build profiles: Gracefully deal with packages containing an etc/ symlink. 2015-05-18 09:47:29 +02:00
build-system Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
import
scripts publish: Add '--listen'. 2015-05-12 21:22:52 +02:00
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 gnu-maintenance: 'gnu-package?' returns #t for R and for GNOME packages. 2015-05-05 15:13:57 +02:00
gnupg.scm
hash.scm
http-client.scm http-client: Remove monkey patching for 2.0.5. 2015-05-10 11:07:51 +02:00
licenses.scm
monad-repl.scm
monads.scm
nar.scm
packages.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
pk-crypto.scm
pki.scm
profiles.scm profiles: Generate an 'etc/profile' file. 2015-05-06 18:26:54 +02:00
records.scm records: Make 'make-syntactic-constructor' available at load/eval/expand. 2015-05-04 23:30:52 +02:00
search-paths.scm search-paths: Export 'string-tokenize*'. 2015-05-06 18:26:53 +02:00
serialization.scm Remove assorted Guile 2.0.5 workarounds. 2015-05-10 11:07:51 +02:00
sets.scm
store.scm
svn-download.scm packages: Refer to the native tools when handling sources and downloads. 2015-04-15 10:19:47 +02:00
tests.scm
ui.scm Remove assorted Guile 2.0.5 workarounds. 2015-05-10 11:07:51 +02:00
utils.scm search-paths: Add 'evaluate-search-paths', from (guix scripts package). 2015-05-04 23:30:51 +02:00