guix-kreyren/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 import: cpan: Fix license string for Artistic license. 2015-04-19 19:48:52 -05:00
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 packages: Refer to the native tools when handling sources and downloads. 2015-04-15 10:19:47 +02:00
derivations.scm derivations: Add #:leaked-env-vars parameter. 2015-05-01 00:06:17 +02:00
download.scm download: Honor the 'http_proxy' and 'https_proxy' env. vars. 2015-05-01 00:06:18 +02:00
elf.scm elf: Add missing argument in 'elf-segment'. 2015-03-30 15:21:11 +02:00
ftp-client.scm ftp-client: Switch to binary mode before using the "SIZE" command. 2015-03-19 13:00:21 +01:00
gcrypt.scm
gexp.scm derivations: Add #:leaked-env-vars parameter. 2015-05-01 00:06:17 +02:00
git-download.scm packages: Refer to the native tools when handling sources and downloads. 2015-04-15 10:19:47 +02:00
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 monads: Optimize 'sequence'. 2015-04-17 18:15:38 +02:00
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 store: Add query-path-info operation. 2015-04-04 13:50:52 -04:00
svn-download.scm packages: Refer to the native tools when handling sources and downloads. 2015-04-15 10:19:47 +02:00
tests.scm guix: packages: Add package-direct-sources and package-transitive-sources. 2015-05-02 23:15:40 -05:00
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