Skip to content

Commit

Permalink
Add note about this being a temp solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 authored Feb 16, 2024
1 parent 89e21ab commit e27b7e0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/libutil/source-path.hh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@

namespace nix {

/**
* Note there is a decent chance this type soon goes away because the problem is solved another way.
* See the discussion in https://github.com/NixOS/nix/pull/9985.
*/
enum class SymlinkResolution {
/**
* Resolve symlinks in the ancestors only.
Expand Down Expand Up @@ -121,6 +125,9 @@ struct SourcePath
/**
* Resolve any symlinks in this `SourcePath` according to the
* given resolution mode.
*
* @param mode might only be a temporary solution for this.
* See the discussion in https://github.com/NixOS/nix/pull/9985.
*/
SourcePath resolveSymlinks(
SymlinkResolution mode = SymlinkResolution::Full) const;
Expand Down

0 comments on commit e27b7e0

Please sign in to comment.