guix/nix/libstore
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
..
.gitignore
build.cc daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
builtins.cc daemon: Define 'NIX_STORE' before invoking 'guix perform-download'. 2017-02-07 14:51:17 +01:00
builtins.hh daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
derivations.cc
derivations.hh
gc.cc
globals.cc
globals.hh daemon: Set ownership of kept build directories to the calling user. 2016-12-09 15:46:09 +01:00
local-store.cc daemon: Improve the SQLite wrapper API. 2016-10-28 22:30:17 +02:00
local-store.hh daemon: Improve the SQLite wrapper API. 2016-10-28 22:30:17 +02:00
misc.cc
misc.hh
optimise-store.cc daemon: Fix invalid Boost format string. 2016-12-05 18:18:10 +01:00
pathlocks.cc
pathlocks.hh
references.cc
references.hh
schema.sql
sqlite.cc daemon: Improve the SQLite wrapper API. 2016-10-28 22:30:17 +02:00
sqlite.hh daemon: Improve the SQLite wrapper API. 2016-10-28 22:30:17 +02:00
store-api.cc
store-api.hh daemon: Improve the SQLite wrapper API. 2016-10-28 22:30:17 +02:00
worker-protocol.hh daemon: Client settings no longer override daemon settings. 2017-01-15 15:43:22 +01:00