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 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 Update license headers. 2013-01-06 00:47:50 +01:00
base64.scm base64: Inline arithmetic operations. 2015-01-09 01:01:04 +01:00
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
config.scm.in build: Change state and log directories to $localstatedir/.../guix. 2014-03-09 22:10:01 +01:00
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 Add (guix gcrypt). 2015-01-26 21:58:12 +01:00
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 gnupg: Correctly parse current 'SIG_ID' lines. 2014-09-24 19:08:03 +02:00
hash.scm hash: Initialize libgcrypt before use. 2015-01-26 21:58:12 +01:00
http-client.scm http-client: Remove monkey patching for 2.0.5. 2015-05-10 11:07:51 +02:00
licenses.scm licenses: Add the Ms-PL. 2015-03-17 18:15:51 +01:00
monad-repl.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
monads.scm monads: Optimize 'sequence'. 2015-04-17 18:15:38 +02:00
nar.scm nar: Read archive signatures as Latin-1 strings. 2015-01-18 22:19:04 +01:00
packages.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
pk-crypto.scm pk-crypto: Improve documentation of 'key-type'. 2015-03-18 14:43:03 +01:00
pki.scm pki: Introduce 'write-acl', and fix wrong conversion in 'ensure-acl'. 2014-04-04 00:23:17 +02:00
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 Add (guix sets). 2015-01-11 23:50:01 +01:00
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