Merge pull request #44060 from periklis/emacs-package-eval-fix

Fix pname to ename propagation if null
This commit is contained in:
Thomas Tuegel 2018-07-27 05:11:03 -05:00 committed by GitHub
commit 3fd03165aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ with lib;
/*
ename: Original Emacs package name, possibly containing special symbols.
*/
, ename ? pname
, ename ? null
, version
, recipe
, meta ? {}
@ -30,6 +30,11 @@ in
import ./generic.nix { inherit lib stdenv emacs texinfo; } ({
ename =
if isNull(ename)
then pname
else ename;
melpa = fetchFromGitHub {
owner = "melpa";
repo = "melpa";