mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
wrappers/standalone: fix
This commit is contained in:
parent
3d19545644
commit
a05b2a9cbf
1 changed files with 8 additions and 3 deletions
|
@ -31,7 +31,12 @@ default_pkgs: {
|
|||
config = handleAssertions eval.config;
|
||||
in
|
||||
config.finalPackage.overrideAttrs (oa: {
|
||||
paths =
|
||||
oa.paths
|
||||
++ (pkgs.lib.optional config.enableMan self.packages.${pkgs.system}.man-docs);
|
||||
preInstall =
|
||||
if config.enableMan
|
||||
then ''
|
||||
mkdir -p $out/share/man/man5
|
||||
cp ${self.packages.${pkgs.system}.man-docs}/share/man/man5/nixvim.5 $out/share/man/man5
|
||||
''
|
||||
else ''
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue