-
-
Save shadow-fox/d7a126226baa9b9548ca4e986fb73948 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixpkgs' does not exist, ignoring | |
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring | |
error: Package ‘stylish-haskell-0.10.0.0’ in /nix/store/h2bwswpnh56cnr99rxvvjckgm17km0ja-nixpkgs-20.03pre211462.0c960262d15/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix:234135 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
packageOverrides = super: let self = super.pkgs; in | |
{ | |
allowBroken = true; | |
haskellEnv = self.haskell.packages.ghc865.ghcWithHoogle | |
(haskellPackages: with haskellPackages; [ | |
# libraries | |
# editor tools | |
stylish-haskell hlint hindent brittany prettyprinter prettyprinter-ansi-terminal | |
ghcid ghc-mod hpack hasktags | |
# tools | |
cabal-install | |
]); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment