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 build: emacs-utils: Add 'emacs-generate-autoloads'. 2014-12-02 22:09:23 +03:00
git.scm git-download: Support recursive clones. 2014-06-27 23:04:48 +02:00
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 derivations: Add 'graft-derivation'. 2014-10-08 12:01:49 +02:00
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 pull: Use the build procedure provided by the newly-downloaded Guix. 2014-11-09 22:33:45 +01:00
python-build-system.scm utils: 'modify-phases' no longer introduces quotes. 2015-03-31 22:43:01 +02:00
rpath.scm Add (guix build rpath). 2013-05-08 23:45:02 +02:00
ruby-build-system.scm utils: 'modify-phases' no longer introduces quotes. 2015-03-31 22:43:01 +02:00
store-copy.scm vm: Move store copy handling to (guix build store-copy). 2014-09-04 23:24:54 +02:00
svn.scm Add (guix svn-download). 2014-03-27 00:21:44 +01:00
syscalls.scm syscalls: Add 'set-network-interface-up'. 2015-05-17 23:20:59 +02:00
union.scm union: Ensure that the output is always a directory. 2014-04-03 18:35:16 -04:00
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