flex: backwards-compatible executable alias lex

This commit is contained in:
Dr Perceptron 2022-01-16 16:07:09 +11:00
parent b254d2b1fe
commit 946f5dd980
No known key found for this signature in database
GPG Key ID: 95EB6DFF26D1CEB0

View File

@ -47,6 +47,10 @@ stdenv.mkDerivation rec {
dontDisableStatic = stdenv.buildPlatform != stdenv.hostPlatform;
postInstall = ''
ln -s $out/bin/flex $out/bin/lex
'';
meta = with lib; {
homepage = "https://github.com/westes/flex";
description = "A fast lexical analyser generator";