lix/src
Steam Deck User a86916eb72 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
2022-10-12 12:12:12 -07:00
..
build-remote Generalize DerivationType in preparation for impure derivations 2022-03-18 14:59:56 +00:00
libcmd nix repl: warn if creating dir for history fails 2022-09-20 11:01:40 +00:00
libexpr Merge pull request #7089 from NixOS/mention-accept-flake-config-in-warning 2022-09-26 11:13:02 +02:00
libfetchers Don't pass --force to 'git add' 2022-08-17 16:59:02 +02:00
libmain RunPager: Stop the progress bar 2022-09-13 15:29:13 +02:00
libstore Make warning about chroot store location more accurate 2022-10-12 12:12:12 -07:00
libutil archive: check close errors when extracting nars 2022-09-22 12:50:32 -07:00
nix Merge pull request #7010 from edolstra/ignore-shell 2022-09-24 12:55:53 +02:00
nix-build nix-build: remove unused --add-root arg 2022-09-27 00:07:42 +02:00
nix-channel Fix segfault in headerCallback() 2022-03-03 11:11:16 +01:00
nix-collect-garbage Add missing rethrows in conditional exception handlers 2022-06-10 10:52:41 -07:00
nix-copy-closure
nix-env Revert to copyStore = true for nix-instantiate and nix-env 2022-08-23 14:40:27 +02:00
nix-instantiate Revert to copyStore = true for nix-instantiate and nix-env 2022-08-23 14:40:27 +02:00
nix-store Fix a misplaced parenthese in serve protocol check 2022-08-24 01:54:43 +02:00
resolve-system-dependencies Get rid of most .at calls (#6393) 2022-05-04 07:44:32 +02:00
toml11