p7zip: add meta.mainProgram

This commit is contained in:
Samuel Gräfenstein 2021-04-27 19:28:44 +02:00
parent 489ca03773
commit 317cc8fad0
No known key found for this signature in database
GPG key ID: EF76A063F15C63C8

View file

@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
description = "A new p7zip fork with additional codecs and improvements (forked from https://sourceforge.net/projects/p7zip/)";
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.raskin ];
mainProgram = "7z";
# RAR code is under non-free UnRAR license, but we remove it
license = if enableUnfree then lib.licenses.unfree else lib.licenses.lgpl2Plus;
};