diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-07-24 14:02:05 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-08-02 12:54:48 -0400 |
commit | 9b908fa70a07219a110ddd63ec3593c2c2269918 (patch) | |
tree | 484f4a4fb02229f0ce79ba40cfd7945fad1e7896 /src/nix/profile.md | |
parent | d00469ebf94dba4ae30120c1ba36085ac20443b8 (diff) |
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
Diffstat (limited to 'src/nix/profile.md')
0 files changed, 0 insertions, 0 deletions