diff options
author | Jason Samsa <jason.samsa@wisc.edu> | 2019-12-13 14:23:47 -0600 |
---|---|---|
committer | Jason Samsa <jason.samsa@wisc.edu> | 2019-12-13 14:50:49 -0600 |
commit | 77804abdd412dc9b5e69801c22562f02d6ce9083 (patch) | |
tree | b868f28890170cf8ab3b74a67a60e83f8054e5dc /pkgs/applications/editors/emacs | |
parent | c644c7578df9623a0589f19eb55331655b209c27 (diff) |
emacsMacport: add version attribute
Changes in https://github.com/NixOS/nixpkgs/pull/74936 depend on emacs
derivations to have a version attribute.
Diffstat (limited to 'pkgs/applications/editors/emacs')
-rw-r--r-- | pkgs/applications/editors/emacs/macport.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/editors/emacs/macport.nix b/pkgs/applications/editors/emacs/macport.nix index 649997171e9f..e9307c7e80b9 100644 --- a/pkgs/applications/editors/emacs/macport.nix +++ b/pkgs/applications/editors/emacs/macport.nix @@ -4,10 +4,12 @@ }: stdenv.mkDerivation rec { - emacsVersion = "26.3"; - emacsName = "emacs-${emacsVersion}"; + pname = "emacs"; + version = "26.3"; + + emacsName = "emacs-${version}"; macportVersion = "7.7"; - name = "emacs-mac-${emacsVersion}-${macportVersion}"; + name = "emacs-mac-${version}-${macportVersion}"; src = fetchurl { url = "mirror://gnu/emacs/${emacsName}.tar.xz"; |