summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2022-03-01 13:44:08 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2022-03-02 11:00:53 -0800
commit2e5f265fdb2d0df2023864e56b5bc54ef9f67fbe (patch)
tree484a0287df4cb23eb091cd6804ed259e785a1a5d /pkgs/applications/editors/emacs
parent6bcfd611090b40d94d000b65179b19636cc8fe6c (diff)
downloadnixpkgs-2e5f265fdb2d0df2023864e56b5bc54ef9f67fbe.tar
nixpkgs-2e5f265fdb2d0df2023864e56b5bc54ef9f67fbe.tar.gz
nixpkgs-2e5f265fdb2d0df2023864e56b5bc54ef9f67fbe.tar.bz2
nixpkgs-2e5f265fdb2d0df2023864e56b5bc54ef9f67fbe.tar.lz
nixpkgs-2e5f265fdb2d0df2023864e56b5bc54ef9f67fbe.tar.xz
nixpkgs-2e5f265fdb2d0df2023864e56b5bc54ef9f67fbe.tar.zst
nixpkgs-2e5f265fdb2d0df2023864e56b5bc54ef9f67fbe.zip
emacs-nox: remove appendToName to have a consistent package name for repology
Diffstat (limited to 'pkgs/applications/editors/emacs')
-rw-r--r--pkgs/applications/editors/emacs/generic.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix
index 946dba0af8f..82a1d6af832 100644
--- a/pkgs/applications/editors/emacs/generic.nix
+++ b/pkgs/applications/editors/emacs/generic.nix
@@ -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;