blob: 3058341c20eef27892a178b724b1ad9da32d2223 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ cfg, ... }:
# let
# # Create an emacs module with a single file in it
# loadModule = (file: pkgs.runCommand "${file}" {} ''
# mkdir -p $out/share/emacs/site-lisp
# cp -v ${file} $out/share/emacs/site-lisp/
# '');
# # Create a full config from a set of
# buildConfig = (anchor: modules: pkgs.symlinkJoin {
# name = "libkookie-emacs";
# paths = modules ++ [ (loadModule "${anchor}") ];
# });
# in
# (buildConfig "default.el" cfg.libkookie.features)
{}
|