diff options
author | Alan Pearce | 2017-06-06 11:40:44 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-06 11:40:49 +0200 |
commit | ae050e529e4b08bcf025e1c4e77a3da5a6c0ef80 (patch) | |
tree | 5f9e99eb880ebcd684f4eca368877c91f5fa4727 /nix/.config/nixpkgs/config.nix | |
parent | 9d5b7f2a1412167e390a6e4f4c3c9401840ae147 (diff) | |
download | nixfiles-ae050e529e4b08bcf025e1c4e77a3da5a6c0ef80.tar.lz nixfiles-ae050e529e4b08bcf025e1c4e77a3da5a6c0ef80.tar.zst nixfiles-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.nix | 9 |
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 00000000..3b506937 --- /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; +} |