mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
gawk: link gawk manpage to awk
This commit is contained in:
parent
4182fc36b6
commit
04d4d14d6d
@ -32,7 +32,10 @@ stdenv.mkDerivation rec {
|
|||||||
configureFlags = stdenv.lib.optional (stdenv.system != "x86_64-cygwin") "--with-libsigsegv-prefix=${libsigsegv}"
|
configureFlags = stdenv.lib.optional (stdenv.system != "x86_64-cygwin") "--with-libsigsegv-prefix=${libsigsegv}"
|
||||||
++ [(if interactive then "--with-readline=${readline.dev}" else "--without-readline")];
|
++ [(if interactive then "--with-readline=${readline.dev}" else "--without-readline")];
|
||||||
|
|
||||||
postInstall = "rm $out/bin/gawk-*";
|
postInstall = ''
|
||||||
|
rm $out/bin/gawk-*
|
||||||
|
ln -s $man/share/man/man1/gawk.1 $man/share/man/man1/awk.1
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.gnu.org/software/gawk/;
|
homepage = http://www.gnu.org/software/gawk/;
|
||||||
|
Loading…
Reference in New Issue
Block a user