From e27b7e04bf38c1fdf342d6e15b2c003ca9b92cb1 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 16 Feb 2024 08:45:15 -0500 Subject: [PATCH] Add note about this being a temp solution --- src/libutil/source-path.hh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/libutil/source-path.hh b/src/libutil/source-path.hh index b4cfa9ce891..4542a2bacbf 100644 --- a/src/libutil/source-path.hh +++ b/src/libutil/source-path.hh @@ -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. @@ -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;