emacs-nox: remove appendToName to have a consistent package name for repology

This commit is contained in:
Felix Buehler 2022-03-01 13:44:08 +01:00 committed by Jonathan Ringer
parent 6bcfd61109
commit 2e5f265fdb
2 changed files with 4 additions and 3 deletions

View file

@ -53,7 +53,8 @@ let emacs = stdenv.mkDerivation (lib.optionalAttrs nativeComp {
NATIVE_FULL_AOT = "1";
LIBRARY_PATH = "${lib.getLib stdenv.cc.libc}/lib";
} // {
inherit pname version;
pname = pname + lib.optionalString ( !withX && !withNS && !withGTK2 && !withGTK3 ) "-nox";
inherit version;
patches = patches fetchpatch;

View file

@ -25306,12 +25306,12 @@ with pkgs;
inherit (darwin) sigtool;
};
emacs27-nox = lowPrio (appendToName "nox" (emacs27.override {
emacs27-nox = lowPrio (emacs27.override {
withX = false;
withNS = false;
withGTK2 = false;
withGTK3 = false;
}));
});
emacsMacport = callPackage ../applications/editors/emacs/macport.nix {
inherit (darwin.apple_sdk.frameworks)