aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/repl.cc
diff options
context:
space:
mode:
authorSteam Deck User <deck@steamdeck.host.home.acrawford.com>2022-10-06 11:01:55 -0700
committerSteam Deck User <deck@steamdeck.host.home.acrawford.com>2022-10-12 12:12:12 -0700
commita86916eb72f3a774d1d3ca859381b3ea8be5e0af (patch)
tree480d1979707504f275175bfa1a71ab0d9898badf /src/libcmd/repl.cc
parentac0fb38e8a5a25a84fa17704bd31b453211263eb (diff)
Make warning about chroot store location more accurate
While trying to use an alternate directory for my Nix installation, I noticed that nix's output didn't reflect the updated state directory. This patch corrects that and now prints the warning before attempting to create the directory (if the directory creation fails, it wouldn't have been obvious why nix was attempting to create the directory in the first place). With this patch, I now get the following warning: warning: '/home/deck/.var/app/org.nixos.nix/var/nix' does not exist, so Nix will use '/home/deck/.local/share/nix/root' as a chroot store
Diffstat (limited to 'src/libcmd/repl.cc')
0 files changed, 0 insertions, 0 deletions