lix/src/nix-env
John Ericson 9b908fa70a Factor out nix-defexpr path computation
Avoid duplicated code, and also avoid "on the fly" path construction
(which makes it harder to keep track of which paths we use).

The factored out code doesn't create the Nix state dir anymore, but this
is fine because other in nix-env and nix-channel does:

- nix-channel: Line 158 in this commit

- nix-env: Line 1407 in this commit
2023-08-02 12:54:48 -04:00
..
buildenv.nix Move some corepkgs into the nix binary 2020-03-11 16:57:48 +01:00
nix-env.cc Factor out nix-defexpr path computation 2023-08-02 12:54:48 -04:00
user-env.cc Clean up a few things related to profiles (#8526) 2023-06-19 04:04:59 +00:00
user-env.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00