Skip to content

Instantly share code, notes, and snippets.

@zeta-00
Created August 12, 2019 17:12
Show Gist options
  • Save zeta-00/eaf8dc8b9bcb2c61cc2db3eca704994a to your computer and use it in GitHub Desktop.
Save zeta-00/eaf8dc8b9bcb2c61cc2db3eca704994a to your computer and use it in GitHub Desktop.
[root@wlf:/home/wolf]# nixos-rebuild switch
building Nix...
building the system configuration...
error: Package ‘ihaskell-0.9.1.0’ in /nix/store/cnzzm78md9i878i1yp7pml1bvqnp02gd-nixos-19.03.173104.a6598a6c865/nixos/pkgs/development/haskell-modules/hackage-packages.nix:127043 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)
[root@wlf:/home/wolf]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment