summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-07-05 13:33:58 +0200
committerAlan Pearce2017-07-05 13:33:58 +0200
commitad4197f2e45fe1706d6ef0ccd3518244f545617c (patch)
tree90aa3f87ec1f14d0eeef1693a5d52135f4c0b37b
parent67259c20e4abc05c4df23afeab021358f0ef1566 (diff)
downloadnixfiles-ad4197f2e45fe1706d6ef0ccd3518244f545617c.tar.lz
nixfiles-ad4197f2e45fe1706d6ef0ccd3518244f545617c.tar.zst
nixfiles-ad4197f2e45fe1706d6ef0ccd3518244f545617c.zip
nix: Use node 8 for node packages
-rw-r--r--nix/.config/nixpkgs/config.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nix/.config/nixpkgs/config.nix b/nix/.config/nixpkgs/config.nix
index 3b506937..dc4e40a2 100644
--- a/nix/.config/nixpkgs/config.nix
+++ b/nix/.config/nixpkgs/config.nix
@@ -2,7 +2,10 @@
   packageOverrides = super: let
     self = super.pkgs;
   in with self; rec {
-    myEmacs = super.callPackage ./emacs.nix {};
+    myEmacs = super.callPackage ./emacs.nix {
+      emacs = if stdenv.isDarwin then emacs25Macport else emacs;
+    };
+    nodejs = pkgs.nodejs-8_x;
   };
 
   allowUnfree = true;