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, ... }: { pkgs, ... }:
{ name, src, deps ? (_: []), emacs ? pkgs.emacs26-nox }: { name, src, deps ? (_: []), emacs ? pkgs.third_party.emacs26-nox }:
let let
inherit (pkgs) emacsPackagesFor writeTextFile; inherit (pkgs.third_party) emacsPackagesFor writeTextFile;
inherit (builtins) isString toFile; inherit (builtins) isString toFile;
finalEmacs = (emacsPackagesFor emacs).emacsWithPackages deps; finalEmacs = (emacsPackagesFor emacs).emacsWithPackages deps;

View file

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