guix-devel/guix
Ludovic Courtès 2225d56a14
profiles: Correctly deal with etc/ being a relative symlink.
Fixes <https://bugs.gnu.org/32686>.
Reported by Oleg Pykhalov <go.wigust@gmail.com>.

* guix/build/profiles.scm (ensure-writable-directory): Add #:symlink.
[absolute?]: New procedure.
[unsymlink]: Use it to determine how to resolve readlink's result.
(build-profile): Pass SYMLINK to 'ensure-writable-directory'.
* tests/profiles.scm ("profile-derivation when etc/ is a relative symlink"):
New test.
2018-09-11 00:14:58 +02:00
..
build profiles: Correctly deal with etc/ being a relative symlink. 2018-09-11 00:14:58 +02:00
build-system Adjust all users of (gnu packages ldc) to use (gnu packages dlang). 2018-09-10 15:44:32 -04:00
import Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
scripts substitute: Ignore exceptions thrown by 'set-thread-name'. 2018-09-10 17:47:52 +02:00
store Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
tests
base16.scm
base32.scm
base64.scm
build-system.scm
cache.scm
channels.scm git: Don't require users to specifiy "origin/" for branches. 2018-09-05 23:50:38 +02:00
ci.scm Add (guix ci). 2018-03-28 16:17:06 +02:00
combinators.scm Add (guix memoization). 2017-01-28 18:55:20 +01:00
config.scm.in build: Remove checks for 'nix-instantiate'. 2018-06-18 23:19:51 +02:00
cpio.scm linux-initrd: Produce cpio archives with zeroed timestamps, etc. 2015-06-24 18:05:03 +02:00
cve.scm cve: Update feed URL. 2018-08-26 01:47:40 +02:00
cvs-download.scm
derivations.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
describe.scm Add 'guix describe'. 2018-09-07 11:40:22 +02:00
discovery.scm discovery: Add 'scheme-modules*'. 2018-09-02 16:43:10 +02:00
docker.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
download.scm Merge branch 'master' into core-updates 2018-05-29 15:41:06 +02:00
elf.scm
ftp-client.scm
gexp.scm gexp: 'file-union' accepts directory names. 2018-09-08 23:02:01 +02:00
git-download.scm git-download: Fix recursive checkouts. 2018-03-18 20:00:44 -05:00
git.scm git: Don't require users to specifiy "origin/" for branches. 2018-09-05 23:50:38 +02:00
glob.scm glob: Add an extra glob pattern compilation stage. 2018-03-18 22:57:17 +01:00
gnu-maintenance.scm gnu-maintenance: Get GNU metadata from rec files. 2018-07-11 16:07:04 +02:00
gnupg.scm
grafts.scm grafts: Add (guix build debug-link) and use it. 2018-08-24 18:01:05 +02:00
graph.scm
hg-download.scm
http-client.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
i18n.scm
inferior.scm inferior: Add home-page and location package accessors. 2018-09-04 17:22:55 +02:00
licenses.scm Correct name and Email for ng0. 2018-03-20 17:17:58 +01:00
man-db.scm profiles: Use 'with-extensions'. 2018-06-01 15:21:28 +02:00
memoization.scm memoization: Add 'invalidate-memoization!. 2017-12-13 23:11:53 +01:00
modules.scm modules: Report the search path in &missing-dependency-error. 2018-04-08 17:41:08 +02:00
monad-repl.scm
monads.scm
nar.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
packages.scm gexp: 'imported-files' no longer creates a derivation by default. 2018-07-19 11:48:04 +02:00
pki.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
profiles.scm guix package: Record package provenance in manifest entries. 2018-09-07 11:40:25 +02:00
profiling.scm Add (guix profiling). 2017-12-12 18:11:22 +01:00
progress.scm progress: Rename 'erase-in-line' to 'erase-current-line'. 2017-12-15 11:53:21 +01:00
records.scm records: Adjust to test changes in 'record-abi-mismatch-error'. 2018-08-31 17:26:56 +02:00
scripts.scm pull: Install the new Guix in a profile. 2018-06-09 12:02:27 +02:00
search-paths.scm search-paths: Add 'set-search-paths'. 2018-05-10 14:53:57 +02:00
self.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
serialization.scm serialization: Add 'write-file-tree'. 2018-07-19 11:48:04 +02:00
sets.scm
ssh.scm ssh: Display the size of the store items being sent. 2018-07-29 18:50:28 +02:00
store.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
svn-download.scm
tests.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
ui.scm ui: Add soft port for styling and filtering build output. 2018-09-09 23:18:21 +02:00
upstream.scm discovery: Remove dependency on (guix ui). 2018-04-08 17:48:33 +02:00
utils.scm Revert "guix: Compress and decompress xz archives in parallel." 2018-07-22 18:01:35 +02:00
workers.scm
zlib.scm