fix(writeElispBin): Add required nixpkgs attributes for elisp
This commit is contained in:
parent
46e5a23937
commit
7044424f52
2 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
|
|
5
third_party/default.nix
vendored
5
third_party/default.nix
vendored
|
@ -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 // {
|
||||
|
|
Loading…
Reference in a new issue