diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-02-07 14:44:55 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-02-07 14:51:17 +0100 |
commit | 328f7cbe435d79d61f57129d9e3ee90404d6bfda (patch) | |
tree | b7cd83cf01444389ffe68bf80ad92e8b18e972c7 /emacs | |
parent | ef753a1a8f9e7c971957abfda9b672a7728cd073 (diff) | |
download | patches-328f7cbe435d79d61f57129d9e3ee90404d6bfda.tar patches-328f7cbe435d79d61f57129d9e3ee90404d6bfda.tar.gz |
daemon: Define 'NIX_STORE' before invoking 'guix perform-download'.
Reported by rohit yadav <rohityadav@utexas.edu>
at <https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00191.html>.
This fixes a regression whereby 'guix perform-download' would always see
NIX_STORE as unset and thus use "/gnu/store", leading it to miscompute
the hydra.gnu.org content-addressed URLs when the store file name is not
"/gnu/store".
* nix/libstore/builtins.cc (builtinDownload): Add 'setenv' call for
'NIX_STORE'.
Diffstat (limited to 'emacs')
0 files changed, 0 insertions, 0 deletions