summary refs log tree commit diff stats
path: root/nix/.config/nixpkgs/config.nix
diff options
context:
space:
mode:
authorAlan Pearce2017-06-06 11:40:44 +0200
committerAlan Pearce2017-06-06 11:40:49 +0200
commitae050e529e4b08bcf025e1c4e77a3da5a6c0ef80 (patch)
tree5f9e99eb880ebcd684f4eca368877c91f5fa4727 /nix/.config/nixpkgs/config.nix
parent9d5b7f2a1412167e390a6e4f4c3c9401840ae147 (diff)
downloaddotfiles-ae050e529e4b08bcf025e1c4e77a3da5a6c0ef80.tar.lz
dotfiles-ae050e529e4b08bcf025e1c4e77a3da5a6c0ef80.tar.zst
dotfiles-ae050e529e4b08bcf025e1c4e77a3da5a6c0ef80.zip
nix: Add Emacs build with packages
Install with `nix-env -iA nixpkgs.myEmacs` (depending on nix namespace)
Diffstat (limited to 'nix/.config/nixpkgs/config.nix')
-rw-r--r--nix/.config/nixpkgs/config.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/.config/nixpkgs/config.nix b/nix/.config/nixpkgs/config.nix
new file mode 100644
index 0000000..3b50693
--- /dev/null
+++ b/nix/.config/nixpkgs/config.nix
@@ -0,0 +1,9 @@
+{ pkgs }: {
+  packageOverrides = super: let
+    self = super.pkgs;
+  in with self; rec {
+    myEmacs = super.callPackage ./emacs.nix {};
+  };
+
+  allowUnfree = true;
+}