Skip to content

Commit

Permalink
emacs: Make stdenv.mkDerivation params non recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Jul 24, 2020
1 parent d1b0eef commit 5f74b92
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkgs/applications/editors/emacs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 5f74b92

Please sign in to comment.