From dcdbe2c5fe761198de7e9bb4c3b0acac6551d24a Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Tue, 28 Apr 2020 21:54:14 +0200 Subject: i3: fix man page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The files with the .man extension are asciidoc versions of the man pages and should not be copied to share/man or mandb complains: mandb: warning: …/man/man1/i3.man.gz: ignoring bogus filename --- pkgs/applications/window-managers/i3/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/applications') diff --git a/pkgs/applications/window-managers/i3/default.nix b/pkgs/applications/window-managers/i3/default.nix index eec7d88dbc72..3888e10f2585 100644 --- a/pkgs/applications/window-managers/i3/default.nix +++ b/pkgs/applications/window-managers/i3/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, which, pkgconfig, makeWrapper, libxcb, xcbutilkeysyms +{ fetchurl, stdenv, which, pkgconfig, makeWrapper, installShellFiles, libxcb, xcbutilkeysyms , xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification, libX11, pcre, libev , yajl, xcb-util-cursor, perl, pango, perlPackages, libxkbcommon , xorgserver, xvfb_run }: @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { sha256 = "0z709cianlzw0x0qwq4361347354xd9ckj1v7vjvhb1zh3x91gws"; }; - nativeBuildInputs = [ which pkgconfig makeWrapper ]; + nativeBuildInputs = [ which pkgconfig makeWrapper installShellFiles ]; buildInputs = [ libxcb xcbutilkeysyms xcbutil xcbutilwm xcbutilxrm libxkbcommon @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { sed -i 's/which/command -v/' $program done - install -vD -t $out/share/man/man1 man/*.{1,man} + installManPage man/*.1 ''; separateDebugInfo = true; -- cgit 1.4.1