nix/.config/nixpkgs/config.nix (view raw)
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;
}
|