Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cabal-cache marked as broken in nix #92

Open
newhoggy opened this issue Nov 24, 2019 · 1 comment
Open

cabal-cache marked as broken in nix #92

newhoggy opened this issue Nov 24, 2019 · 1 comment

Comments

@newhoggy
Copy link
Collaborator

$ nix-shell '<nixpkgs>' -A haskellPackages.cabal-cache
error: Package ‘cabal-cache-1.0.0.12’ in /nix/store/jdv353aw8ip98chg7hlq8svsdw3iz3lf-nixpkgs-19.09pre184351.3ddbe024f73/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix:44543 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)
@newhoggy
Copy link
Collaborator Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant