After adding the unstable channel
nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable
I added an overlay under ~/.config/nixpkgs/overlays/package-upgrades/default.nix
self: super:
let
unstable = import <unstable> {};
in {
jbake = unstable.jbake;
}
This overlay is added to home.nix
nixpkgs.overlays = [ (import ./overlays/package-upgrades) ];
When I run home-manager switch
there is an error
0 + john@n1 nixpkgs $ home-manager switch
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
The entire configuration can be found here.
How can I upgrade a single attribute from unstable using home-manager and an overlay?