mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-01-30 22:57:58 +00:00
wrapper-manager-fds/modules/files: update description and example
This commit is contained in:
parent
fb5d984306
commit
5a04d1670b
@ -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
|
||||
'''';
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user