Skip to content

Commit 04d4d14

Browse files
committedJun 13, 2017
gawk: link gawk manpage to awk
1 parent 4182fc3 commit 04d4d14

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

Diff for: ‎pkgs/tools/text/gawk/default.nix

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ stdenv.mkDerivation rec {
3232
configureFlags = stdenv.lib.optional (stdenv.system != "x86_64-cygwin") "--with-libsigsegv-prefix=${libsigsegv}"
3333
++ [(if interactive then "--with-readline=${readline.dev}" else "--without-readline")];
3434

35-
postInstall = "rm $out/bin/gawk-*";
35+
postInstall = ''
36+
rm $out/bin/gawk-*
37+
ln -s $man/share/man/man1/gawk.1 $man/share/man/man1/awk.1
38+
'';
3639

3740
meta = with stdenv.lib; {
3841
homepage = http://www.gnu.org/software/gawk/;

0 commit comments

Comments
 (0)
Please sign in to comment.