emacs: Make stdenv.mkDerivation params non recursive

This commit is contained in:
adisbladis 2020-07-24 10:56:14 +02:00
parent d1b0eef9b5
commit 5f74b92a14
No known key found for this signature in database
GPG Key ID: 110BFAD44C6249B7

View File

@ -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";