emacs generic.nix: append -macport to pname when appropriate

This commit is contained in:
Anderson Torres 2023-06-04 22:49:27 -03:00
parent 6a6110bd76
commit 441036d7f9

View File

@ -140,6 +140,7 @@ mkDerivation (finalAttrs: (lib.optionalAttrs nativeComp {
} // {
pname = pname
+ (if noGui then "-nox"
else if (variant == "macport") then "-macport"
else if withPgtk then "-pgtk"
else if withGTK3 then "-gtk3"
else if withGTK2 then "-gtk2"