Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

man peek gzipped twice on NixOS #584

Open
xzfc opened this issue Apr 23, 2020 · 0 comments
Open

man peek gzipped twice on NixOS #584

xzfc opened this issue Apr 23, 2020 · 0 comments

Comments

@xzfc
Copy link

xzfc commented Apr 23, 2020

man peek on NixOS is binary garbage. It seems that some part of the build system doesn't know that peek.1 is already compressed and gzips it for the second time.

One possible fix is to add .gz suffix to generated manpage filename. This is consistent with behavior of data/man/CMakeLists.txt which appends .gz suffix.

diff --git a/data/man/meson.build b/data/man/meson.build
index 71da75c..54e7b73 100644
--- a/data/man/meson.build
+++ b/data/man/meson.build
@@ -17,7 +17,7 @@ else
       join_paths(meson.current_source_dir(), 'peek.1.txt'),
       '@OUTPUT@'
     ],
-    output: 'peek.1',
+    output: 'peek.1.gz',
     install: true,
     install_dir: join_paths(get_option('mandir'), 'man1'))
 endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants