Hello,
Does anyone while working through a configuration ever just drop to their knees and thank God that Nix was created and is as fully featured as it is?
In my latest configuration update I switched to using gtk3-classic and, since I didn’t want to rebuild the world, I was looking for a guix-style-graft method. Lo-and-behold, enter replaceDependency
. Initial configuration update and almost everything worked as expected. Small hiccup, some of my home-manger programs.*.package
statements failed to find an override
attribute (investigation came to the result that my Nix is still not good enough to trace why this attribute isn’t copied over in replaceDependency
). However, I know Nix is lazy in most respects so a quick (hack[1]) later, and all is running working as expected.
To the point of this post, I just want to truly thank all the tireless Nix/NixOS/NixOps/nixpkgs/home-manager/* developers that truly make Nix a fantastic product. Being a developer myself I know praise can sometimes be hard to come by (especially against an always new set of issues), so from the bottom of my heart, to every single one of you:
Thank-you
[1]
programs.*.package = (pkgs.xxx // { override = o: gtkc_graft (pkgs.xxx.override o);});