A new personal here, still trying to wrap my head around Nix
This does not happen a lot but occasionally I will come across an error
.... package/default.nix is marked as broken, refusing to evaluate.
a) For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
Truth is that I do not want to turn on allowBroken in my config. I like the stability that NixOS offers. However, that means I cannot run the switch to upgrade/update my system, or what I know of.
Is there a way to safely skip this package (and perhaps its dependencies) but running the update or should I just wait until this particular package is marked as OK again?
I’ve never used an overlay before (knowingly) so don’t know (but non-technically speaking we are overlaying nixpkgs with some extra “data”. That data is another version of nixpkgs, specifically pinned to a commit). Search keyword would be nixpkgs pinning