summary refs log tree commit diff stats
path: root/nix/.config/nixpkgs/config.nix
blob: ea6ae1aa38506e0ebf2fe645706352b5af91a2af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ 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;

    zr = super.callPackage ./zr.nix {};
  };

  allowUnfree = true;
}