You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to add barbq to my darwin-configuration.nix, running darwin-rebuild check results in the following error:
➜ darwin-rebuild check
building the system configuration...
error: Package ‘async-timer-0.2.0.0’ in /nix/store/dv1fglfn26v9jh3qq2y25k85qa0gbi2i-nixpkgs-unstable.tar.gz/pkgs/development/haskell-modules/hackage-packages.nix:33590 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.
(use '--show-trace' to show detailed location information)
I'm fairly new to nix, so I'm not sure where to go from here. I've tried a couple of things, mainly different ways to specify allowBroken = true in my configuration. Currently, I have
Hmm I wish I saw this earlier! Anyway, I only just reproduced this and I believe I found a fix for this -- though it's a bit hacky. I'll push the fix in a moment.
I wonder why I never ran into this on any my machines until now 🤔
When I try to add barbq to my
darwin-configuration.nix
, runningdarwin-rebuild check
results in the following error:I'm fairly new to nix, so I'm not sure where to go from here. I've tried a couple of things, mainly different ways to specify
allowBroken = true
in my configuration. Currently, I havebut that doesn't seem to help.
Can you provide any suggestions about how to fix this, or is this something that needs upstream work?
I've copied the config from the documentation (with barbq currently commented out due to the error):
The text was updated successfully, but these errors were encountered: