summary refs log tree commit diff stats
path: root/nix/.config/nixpkgs/config.nix
blob: 11d704a99ef09ca27168d7ba0e6a2e17417e9f1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ pkgs }: {
  packageOverrides = super: let
    self = super.pkgs;
    pkgsUnstable = if super.pkgs.stdenv.isLinux
      then import <nixos-unstable> {}
      else super.pkgs;

  in with self; rec {
    myEmacs = super.callPackage ./emacs.nix {
      emacs = if stdenv.isDarwin then emacs25Macport else emacs;
    };
    nodejs = pkgsUnstable.nodejs-8_x;
  };

  allowUnfree = true;
}