summary refs log tree commit diff
path: root/pre-inst-env.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-09-24 22:33:02 +0200
committerLudovic Courtès <ludo@gnu.org>2013-09-24 23:40:49 +0200
commit923206f79b2e3e1b7c4afbf03aae9c6b4f715d3e (patch)
treec59daf3fd8000ece306728a81b430b34d064e0cb /pre-inst-env.in
parent9d3c4daed35b3393ea06e168ab669813a3278b60 (diff)
downloadguix-923206f79b2e3e1b7c4afbf03aae9c6b4f715d3e.tar.gz
guix-register: Allow the initial directory creation to proceed.
This fixes a bug whereby 'guix-register' would bail out when trying to
create NIX_STORE_DIR/.links when NIX_STORE_DIR is read-only.

* nix/guix-register/guix-register.cc (parse_opt): Initialize
  'settings.nixStore' to PREFIX + NIX_STORE_DIR.
  (main): Change 'settings.nixStore' once the 'LocalStore' has been
  instantiated.
Diffstat (limited to 'pre-inst-env.in')
0 files changed, 0 insertions, 0 deletions