lix-releng-staging/src
Qyriad aae12f5848 fix nix upgrade-nix on new-style profiles
nix3-profile automatically migrates any profile its used on to its style
of profile -- the ones with manifest.json instead of manifest.nix. On
non-NixOS systems, Nix is conventionally installed to the profile at
/nix/var/nix/profiles/default, so if a user passed that to `--profile`
of `nix profile`, then it would break upgrade-nix from ever working
again, without recreating the profile.

This commit fixes that, and allows upgrade-nix to work on either kind of
profile.

Fixes #16.

Change-Id: I4c49b1beba93bb50e8f8a107edc451affe08c3f7
2024-04-29 01:19:21 +00:00
..
build-remote Remove HintFmt::operator% 2024-03-26 15:40:05 -07:00
libcmd fix nix upgrade-nix on new-style profiles 2024-04-29 01:19:21 +00:00
libexpr don't boost::to_few_args when an eval cached string type errors 2024-04-10 18:30:12 -06:00
libfetchers remove extraneous cache entry from github fetcher 2024-04-21 10:46:05 +00:00
libmain meson: install pkg-config files for libraries 2024-03-29 02:45:48 +00:00
libstore Run all derivation builders inside the sandbox on macOS 2024-04-27 14:44:15 -06:00
libutil gc: Find roots using libproc on Darwin 2024-04-25 23:24:21 -04:00
nix fix nix upgrade-nix on new-style profiles 2024-04-29 01:19:21 +00:00
nix-build Move shell_words into its own file 2024-03-26 16:44:04 -07:00
nix-channel Format Nix code with nixfmt 2024-04-08 13:00:00 -07:00
nix-collect-garbage util.hh: split out signals stuff 2024-03-11 00:52:09 -07:00
nix-copy-closure Merge pull request #9277 from keszybz/file-permissions 2024-03-04 05:26:17 +01:00
nix-env refactor some nix-env and profile code to libcmd 2024-04-29 01:19:21 +00:00
nix-instantiate Unify and refactor value printing 2024-03-09 03:50:06 +01:00
nix-store libexpr: Support structured error classes 2024-03-09 04:47:05 -07:00
resolve-system-dependencies libutil: make AutoCloseFD a better resource 2024-03-18 15:42:52 -06:00
meson.build meson: implement functional tests 2024-03-27 18:37:50 -06:00