From 441036d7f901a745e8436167dd4dcc9cebf88f54 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 4 Jun 2023 22:49:27 -0300 Subject: [PATCH] emacs generic.nix: append `-macport` to pname when appropriate --- pkgs/applications/editors/emacs/generic.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 8f8a3665acb0..042ea3f05d95 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -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"