diff options
author | Periklis Tsirakidis <periklis.tsirakidis@holidaycheck.com> | 2018-07-24 20:31:21 +0200 |
---|---|---|
committer | Periklis Tsirakidis <periklis.tsirakidis@holidaycheck.com> | 2018-07-27 08:15:46 +0200 |
commit | 04f0c2522294c75e298ed756ffa8ad14e841d4e6 (patch) | |
tree | 24840aa9c71c0d495dfd86e3f50c15ea52ef08ff /pkgs/build-support/emacs | |
parent | f8e8ecde51b49132d7f8d5adb971c0e37eddcdc2 (diff) |
Fix pname to ename propagation if null
Diffstat (limited to 'pkgs/build-support/emacs')
-rw-r--r-- | pkgs/build-support/emacs/melpa.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/build-support/emacs/melpa.nix b/pkgs/build-support/emacs/melpa.nix index 4ceaf77373e60..2ee99ce973eff 100644 --- a/pkgs/build-support/emacs/melpa.nix +++ b/pkgs/build-support/emacs/melpa.nix @@ -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"; |