diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-01-21 10:05:00 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-01-21 10:19:32 +0100 |
commit | e9dfa4d839cf21b8519724ef53df4862a74c67ec (patch) | |
tree | 775fbcbbbb8f06ef603b74e6bf793f749eaee7cd /gnu/packages | |
parent | c680a7daa5e143dd37d1d045805e073497c591be (diff) | |
download | guix-e9dfa4d839cf21b8519724ef53df4862a74c67ec.tar.gz guix-e9dfa4d839cf21b8519724ef53df4862a74c67ec.zip |
build-self: Execute trampoline in a clean environment.
Previously execution of the trampoline would be somewhat sensitive to
GUILE_LOAD_PATH & co., for example.
* build-aux/build-self.scm (build-program): Remove 'unsetenv' call and
%LOAD-COMPILED-PATH hack.
(call-with-clean-environment): New procedure.
(with-clean-environment): New macro.
(build): Wrap 'open-pipe*' call in 'with-clean-environment'.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions