mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +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;
|
config = handleAssertions eval.config;
|
||||||
in
|
in
|
||||||
config.finalPackage.overrideAttrs (oa: {
|
config.finalPackage.overrideAttrs (oa: {
|
||||||
paths =
|
preInstall =
|
||||||
oa.paths
|
if config.enableMan
|
||||||
++ (pkgs.lib.optional config.enableMan self.packages.${pkgs.system}.man-docs);
|
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