Closed
Description
On a fresh master
, when running nix-shell
, it fails because of retrie
being marked as broken:
$ nix-shell
error: Package ‘retrie-0.1.1.1’ in /nix/store/p49mi5i4r35n1m6kx07lkxp07p8hh8hs-source/pkgs/development/haskell-modules/hackage-packages.nix:214783 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)
Edit: FYI changing the following in shell.nix
makes it work, but I am unsure if this is a good idea...
- nixpkgs ? import sources.nixpkgs {},
+ nixpkgs ? import sources.nixpkgs {config.allowBroken = true;},