Merge branch 'patch-9' of git://github.com/matthewbauer/nixpkgs
This commit is contained in:
commit
038b893338
@ -4,7 +4,8 @@
|
|||||||
{ lib, writeText, inherit-local }:
|
{ lib, writeText, inherit-local }:
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
withPackages = pkgs: let
|
withPackages = pkgs': let
|
||||||
|
pkgs = builtins.filter (x: x != null) pkgs';
|
||||||
extras = map (x: x.emacsBufferSetup pkgs) (builtins.filter (builtins.hasAttr "emacsBufferSetup") pkgs);
|
extras = map (x: x.emacsBufferSetup pkgs) (builtins.filter (builtins.hasAttr "emacsBufferSetup") pkgs);
|
||||||
in writeText "dir-locals.el" ''
|
in writeText "dir-locals.el" ''
|
||||||
(require 'inherit-local "${inherit-local}/share/emacs/site-lisp/elpa/inherit-local-${inherit-local.version}/inherit-local.elc")
|
(require 'inherit-local "${inherit-local}/share/emacs/site-lisp/elpa/inherit-local-${inherit-local.version}/inherit-local.elc")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user