guix-devel/guix/build
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
..
cmake-build-system.scm utils: 'modify-phases' no longer introduces quotes. 2015-03-31 22:43:01 +02:00
cvs.scm Add support for 'cvs-fetch' method in origins. 2015-02-04 01:51:20 -05:00
download.scm download: Work around Guile small-receive-buffer bug. 2015-05-06 10:31:11 +02:00
emacs-utils.scm
git.scm
glib-or-gtk-build-system.scm Merge branch 'master' into core-updates 2015-04-08 16:04:37 +08:00
gnu-build-system.scm build-system/gnu: #:validate-runpath? now defaults to #t. 2015-04-23 18:52:40 +02:00
gnu-dist.scm utils: 'modify-phases' no longer introduces quotes. 2015-03-31 22:43:01 +02:00
graft.scm
gremlin.scm gremlin: Add support for the expansion of $ORIGIN in RUNPATH. 2015-04-23 18:52:40 +02:00
haskell-build-system.scm build-system/haskell: Adjust to new 'modify-phases' syntax. 2015-04-16 09:51:38 +02:00
perl-build-system.scm utils: 'modify-phases' no longer introduces quotes. 2015-03-31 22:43:01 +02:00
profiles.scm profiles: Gracefully deal with packages containing an etc/ symlink. 2015-05-18 09:47:29 +02:00
pull.scm
python-build-system.scm utils: 'modify-phases' no longer introduces quotes. 2015-03-31 22:43:01 +02:00
rpath.scm
ruby-build-system.scm utils: 'modify-phases' no longer introduces quotes. 2015-03-31 22:43:01 +02:00
store-copy.scm
svn.scm
syscalls.scm syscalls: Add 'set-network-interface-up'. 2015-05-17 23:20:59 +02:00
union.scm
utils.scm utils: 'find-files' does not follow symlinks by default. 2015-04-06 23:09:54 +02:00
waf-build-system.scm utils: 'modify-phases' no longer introduces quotes. 2015-03-31 22:43:01 +02:00