-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken
Description
I have the following in my ~/.nixpkgs/config.nix:
haskellngPackages_7101 = with self.haskell-ng.lib; self.haskell-ng.packages.ghc7101.override {
overrides = self: super: {
ghc-mod = overrideCabal super.ghc-mod (drv: {
broken = false;
src = pkgs.fetchFromGitHub {
owner = "DanielG";
repo = "ghc-mod";
rev = "247e4e0e7616fe1fecc68fdcf80d6249ac4cee4f";
sha256 = "02i6z0navp5a73nk9k46rh01hl5r10s6gzq1c6fmcrdrzjq6nwv4";
};
buildDepends = drv.buildDepends ++ [ self.cabal-helper self.cereal ];
});
};
};
And yet, despite setting broken = false;, I still get the following error:
error: Package ‘haskell-ghc-mod-5.2.1.2’ in ‘/home/cstrahan/src/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix:51580’ is marked as broken, refusing to evaluate.
For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
For `nix-env` you can add
{ allowBroken = true; }
to ~/.nixpkgs/config.nix.
(use ‘--show-trace’ to show detailed location information)
I'm positive that my overrides are taking place, and that this isn't user error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken