guix-devel/guix/build
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
..
android-ndk-build-system.scm build-system: android-ndk: Let upstream install header files. 2018-05-10 01:06:22 +02:00
ant-build-system.scm guix: ant-build-system: Reorder before generating INDEX.LIST. 2018-07-19 19:46:31 +02:00
asdf-build-system.scm
bournish.scm
cargo-build-system.scm
cmake-build-system.scm
compile.scm compile: Work around non-thread-safe module autoloading. 2018-06-18 23:19:51 +02:00
cvs.scm
debug-link.scm grafts: Add (guix build debug-link) and use it. 2018-08-24 18:01:05 +02:00
download-nar.scm
download.scm
dub-build-system.scm
emacs-build-system.scm Merge branch 'master' into core-updates 2018-04-21 05:02:52 -04:00
emacs-utils.scm Merge branch 'master' into core-updates 2018-05-06 15:56:24 +02:00
font-build-system.scm
git.scm
glib-or-gtk-build-system.scm
gnu-build-system.scm
gnu-dist.scm
go-build-system.scm build-system/go: Use invoke instead of system*. 2018-07-19 19:12:54 -04:00
graft.scm grafts: Add (guix build debug-link) and use it. 2018-08-24 18:01:05 +02:00
gremlin.scm
guile-build-system.scm build-system: Add 'guile-build-system'. 2018-07-23 12:25:31 +02:00
haskell-build-system.scm build-system/haskell: Make phases fail on error. 2018-07-11 02:45:53 +02:00
hg.scm
java-utils.scm gnu: java: Return #t from all phases and snippets. 2018-06-28 03:55:37 -04:00
lisp-utils.scm
make-bootstrap.scm
meson-build-system.scm build-system/meson: Remove RUNPATH workarounds. 2018-07-28 14:54:18 +02:00
minify-build-system.scm
ocaml-build-system.scm
perl-build-system.scm
profiles.scm profiles: Correctly deal with etc/ being a relative symlink. 2018-09-11 00:14:58 +02:00
pull.scm
python-build-system.scm
qt-utils.scm
r-build-system.scm build-system/r: Use invoke. 2018-05-31 13:24:17 +02:00
rpath.scm
ruby-build-system.scm ruby-build-system: Make phase "replace-git-ls-files" handle more cases. 2018-07-24 22:55:38 +02:00
scons-build-system.scm
store-copy.scm database: Add 'register-items'. 2018-06-14 11:17:00 +02:00
svn.scm
syscalls.scm syscalls: Report lack of a libc symbol as ENOSYS. 2018-09-10 17:47:52 +02:00
texlive-build-system.scm
union.scm union: Do not warn about harmless collisions. 2018-05-17 10:48:37 +02:00
utils.scm
waf-build-system.scm build-system/waf: Use invoke. 2018-06-19 10:48:14 +02:00