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, ... }:
|
{ 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;
|
||||||
|
|
5
third_party/default.nix
vendored
5
third_party/default.nix
vendored
|
@ -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 // {
|
||||||
|
|
Loading…
Reference in a new issue