emacsMacport: add version attribute
Changes in https://github.com/NixOS/nixpkgs/pull/74936 depend on emacs derivations to have a version attribute.
This commit is contained in:
parent
c644c7578d
commit
77804abdd4
@ -4,10 +4,12 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
emacsVersion = "26.3";
|
pname = "emacs";
|
||||||
emacsName = "emacs-${emacsVersion}";
|
version = "26.3";
|
||||||
|
|
||||||
|
emacsName = "emacs-${version}";
|
||||||
macportVersion = "7.7";
|
macportVersion = "7.7";
|
||||||
name = "emacs-mac-${emacsVersion}-${macportVersion}";
|
name = "emacs-mac-${version}-${macportVersion}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/emacs/${emacsName}.tar.xz";
|
url = "mirror://gnu/emacs/${emacsName}.tar.xz";
|
||||||
|
Loading…
Reference in New Issue
Block a user