diff --git a/modules/lib/file-type.nix b/modules/lib/file-type.nix index cc23292b..f4719cd9 100644 --- a/modules/lib/file-type.nix +++ b/modules/lib/file-type.nix @@ -25,6 +25,13 @@ in defaultText = literalExpression ""; description = '' Path to target file relative to ${basePathDesc}. + + Please note that only a single + directive + may write to a given target. + In order to link several directories to the same place, you may use + symlinkJoin as such: + source = pkgs.symlinkJoin{name="myjoin"; dirs=[ home-package /some/path ]; postBuild="echo custom shell script here";}; ''; };