Skip to content

Commit

Permalink
wrappers/standalone: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Nov 21, 2023
1 parent 3d19545 commit a05b2a9
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions wrappers/standalone.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ''
'';
})

0 comments on commit a05b2a9

Please sign in to comment.