1 2 3 4 5 6 7 8 9
{ pkgs }: { packageOverrides = super: let self = super.pkgs; in with self; rec { myEmacs = super.callPackage ./emacs.nix {}; }; allowUnfree = true; }