all repos — nixfiles @ 24d018aae43738aae766dc9932c07f16ffb451b8

System and user configuration, managed by nix and home-manager

trillian: Use nixpkgs-unstable for newest emacs-macport
Alan Pearce alan@alanpearce.eu
Mon, 28 Jan 2019 10:49:19 +0000
commit

24d018aae43738aae766dc9932c07f16ffb451b8

parent

300bca067cdeadcae0ef5fc10e870358aaf76bda

1 files changed, 5 insertions(+), 3 deletions(-)

jump to
M trillian.nixtrillian.nix
@@ -1,8 +1,8 @@ { config, pkgs, ... }:
 
 let emacsPackage = import ./packages/emacs.nix {
-  inherit pkgs;
-  emacs = pkgs.emacs25Macport;
+  pkgs = pkgs.unstable;
+  emacs = pkgs.emacsMacport;
 };
 in
 {
@@ -16,7 +16,9 @@ ]; 
   nixpkgs.config = {
     packageOverrides = pkgs: {
-      unstable = pkgs;
+      unstable = import <nixpkgs-unstable> {
+        config = config.nixpkgs.config;
+      };
     };
   };