fix(writeElispBin): Add required nixpkgs attributes for elisp

This commit is contained in:
Vincent Ambo 2019-12-09 03:00:56 +00:00
parent 46e5a23937
commit 7044424f52
2 changed files with 6 additions and 3 deletions

View file

@ -1,9 +1,9 @@
{ pkgs, ... }:
{ name, src, deps ? (_: []), emacs ? pkgs.emacs26-nox }:
{ name, src, deps ? (_: []), emacs ? pkgs.third_party.emacs26-nox }:
let
inherit (pkgs) emacsPackagesFor writeTextFile;
inherit (pkgs.third_party) emacsPackagesFor writeTextFile;
inherit (builtins) isString toFile;
finalEmacs = (emacsPackagesFor emacs).emacsWithPackages deps;

View file

@ -24,6 +24,8 @@ let
buildGoPackage
cargo
darwin
emacs26-nox
emacsPackagesFor
fetchFromGitHub
google-cloud-sdk
haskell
@ -38,7 +40,8 @@ let
symlinkJoin
tree
writeShellScriptBin
writeText;
writeText
writeTextFile;
};
in exposed // {