Fix pname to ename propagation if null

This commit is contained in:
Periklis Tsirakidis 2018-07-24 20:31:21 +02:00
parent f8e8ecde51
commit 04f0c25222

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