From 5f74b92a143f5b4ac6ef10c07ffefcdf8bbc850f Mon Sep 17 00:00:00 2001 From: adisbladis Date: Fri, 24 Jul 2020 10:56:14 +0200 Subject: [PATCH] emacs: Make stdenv.mkDerivation params non recursive --- pkgs/applications/editors/emacs/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/emacs/default.nix b/pkgs/applications/editors/emacs/default.nix index 83ac606b2311..b88aa00d42d4 100644 --- a/pkgs/applications/editors/emacs/default.nix +++ b/pkgs/applications/editors/emacs/default.nix @@ -31,10 +31,13 @@ assert withGTK3 -> !withGTK2 && gtk3-x11 != null; assert withXwidgets -> withGTK3 && webkitgtk != null; -stdenv.mkDerivation rec { - name = "emacs-${version}${versionModifier}"; +let version = "26.3"; versionModifier = ""; + name = "emacs-${version}${versionModifier}"; + +in stdenv.mkDerivation { + inherit name version; src = fetchurl { url = "mirror://gnu/emacs/${name}.tar.xz";