Skip to content

Commit

Permalink
Remove added attributes
Browse files Browse the repository at this point in the history
ghcjs should have everything it needs & we can handle this all in Nixpkgs.
  • Loading branch information
matthewbauer committed Jun 15, 2018
1 parent 587709e commit 05091f3
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,7 @@ let overrideCabal = pkg: f: if pkg == null then null else haskellLib.overrideCab
ghcjsPkgs = ghcjs: self: super: {
ghcjs = ghcjs.overrideAttrs (o: {
patches = (o.patches or []) ++ optional useFastWeak ./fast-weak.patch;
}) // {
bootPkgs = ghc8_2_2;
isGhcjs = true;
stage1Packages = []; #TODO
mkStage2 = _: {};
meta.platforms = self.ghc.meta.platforms;
version = ghcjs.version;
targetPrefix = "";
haskellCompilerName = "ghcjs";
socket-io = nixpkgs.nodePackages."socket.io";
};
});
ghci-ghcjs = self.callCabal2nix "ghci-ghcjs" (ghcjsSrc + "/lib/ghci-ghcjs") {};
ghcjs-th = self.callCabal2nix "ghcjs-th" (ghcjsSrc + "/lib/ghcjs-th") {};
template-haskell-ghcjs = self.callCabal2nix "template-haskell-ghcjs" (ghcjsSrc + "/lib/template-haskell-ghcjs") {};
Expand Down

0 comments on commit 05091f3

Please sign in to comment.