I currently have git installed and configured through home-manager, the relevant config being:
home.packages = [
pkgs.gitg
pkgs.gittyup
];
programs.git = {
enable=true;
extraConfig= {
pull.rebase = false;
};
userEmail="myemail@fastmail.com.au";
userName="Alistair Grant";
};
I’d like to use gitFull instead so that gitk
is installed, however changing programs.git
to programs.gitFull
raises an error that programs.gitFull
does not exist. Adding pkgs.gitFull
to home.packages
causes:
error: collision between `/nix/store/1gldb5a32cncvs2iwylj1y0i6zbahvw2-git-with-svn-2.40.1/bin/git-http-backend' and `/nix/store/xpk2y9w0afsn3lxsi3976a2vciimvh7h-git-2.40.1/bin/git-http-backend'
error: builder for '/nix/store/pxjc0n9x05d0w1km4npgjyr1jw67y0kc-home-manager-path.drv' failed with exit code 255;
last 1 log lines:
> error: collision between `/nix/store/1gldb5a32cncvs2iwylj1y0i6zbahvw2-git-with-svn-2.40.1/bin/git-http-backend' and `/nix/store/xpk2y9w0afsn3lxsi3976a2vciimvh7h-git-2.40.1/bin/git-http-backend'
For full logs, run 'nix log /nix/store/pxjc0n9x05d0w1km4npgjyr1jw67y0kc-home-manager-path.drv'.
error: 1 dependencies of derivation '/nix/store/31q9fwbhivw6l354gvg2cywb4ql14cma-home-manager-generation.drv' failed to build
How should I resolve this?
Thanks very much,
Alistair