From eb5afdf11565e25864ebb629e5e37a6cb31ce6d9 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 28 Sep 2024 19:37:00 +0800 Subject: [PATCH] wrapper-manager-fds/modules/files: update description and example --- .../modules/wrapper-manager/files.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/subprojects/wrapper-manager-fds/modules/wrapper-manager/files.nix b/subprojects/wrapper-manager-fds/modules/wrapper-manager/files.nix index f2beb150..9da118d2 100644 --- a/subprojects/wrapper-manager-fds/modules/wrapper-manager/files.nix +++ b/subprojects/wrapper-manager-fds/modules/wrapper-manager/files.nix @@ -55,7 +55,14 @@ in options.files = lib.mkOption { type = with lib.types; attrsOf (submodule filesModule); description = '' - A set of files to be exported within the derivation. + Extra set of files to be exported within the derivation. + + ::: {.caution} + Be careful when placing executables in `$out/bin` as it is handled by + wrapper-manager build step. Any files in `$out/bin` that have a + configured wrapper will be overwritten since building the wrapper comes + after installing the files. + ::: ''; default = { }; example = lib.literalExpression '' @@ -63,10 +70,10 @@ in "share/example-app/docs".source = ./docs; "etc/xdg".source = ./config; - "share/example-app/example-config".text = '''''' + "share/example-app/example-config".text = '''' hello=world - location=your-home - ''''''; + location=INSIDE OF YOUR WALLS + ''''; } ''; };