guix-devel/nix
Ludovic Courtès 328f7cbe43
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'.
2017-02-07 14:51:17 +01:00
..
boost
guix-register
libstore daemon: Define 'NIX_STORE' before invoking 'guix perform-download'. 2017-02-07 14:51:17 +01:00
libutil
nix-daemon daemon: Client settings no longer override daemon settings. 2017-01-15 15:43:22 +01:00
scripts daemon: Add "builtin:download" derivation builder. 2016-11-16 18:19:47 +01:00
.gitignore
AUTHORS
COPYING
local.mk build: Delete all the .service and .conf files upon 'make clean'. 2016-12-20 15:14:40 +01:00