byacc: resulting binary should be named byacc

This commit is contained in:
Maximilian Bosch 2019-05-10 07:49:09 +02:00
parent 0a4cd28f84
commit 2169faee8b
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -12,8 +12,16 @@ stdenv.mkDerivation rec {
sha256 = "173l9yai5yndbyn8nzdl6q11wv4x959bd0w392i82nfsqcz0pfsv";
};
configureFlags = [
"--program-transform-name='s,^,b,'"
];
doCheck = true;
postInstall = ''
ln -s $out/bin/byacc $out/bin/yacc
'';
meta = with stdenv.lib; {
description = "Berkeley YACC";
homepage = https://invisible-island.net/byacc/byacc.html;