ghcjs: fix build and disable profiling by default#68009
ghcjs: fix build and disable profiling by default#68009peti merged 1 commit intoNixOS:haskell-updatesfrom
Conversation
748b683 to
b47e8da
Compare
There was a problem hiding this comment.
Could this just be !ghc.isGhcjs?
There was a problem hiding this comment.
This file shouldn't be updated in PRs. It is updated automatically:
cdepillabout
left a comment
There was a problem hiding this comment.
Other than the two above comments, this LGTM. I tried building this locally and it looks like it built correctly. I tried compiling a small module and it appeared to work.
|
I'm not sure if we want to reduce the number of generated Haskell packages, but this also works with the older version of diff --git a/pkgs/development/compilers/ghcjs-ng/default.nix b/pkgs/development/compilers/ghcjs-ng/default.nix
index 6c39263ca3d..5608fefc54b 100644
--- a/pkgs/development/compilers/ghcjs-ng/default.nix
+++ b/pkgs/development/compilers/ghcjs-ng/default.nix
@@ -24,7 +24,7 @@ let
configuredSrc = callPackage ./configured-ghcjs-src.nix {
inherit ghcjsSrc;
inherit (bootPkgs) ghc alex;
- happy = bootPkgs.happy_1_19_9;
+ happy = bootPkgs.happy_1_19_5;
};
genStage0 = callPackage ./mk-stage0.nix { inherit (passthru) configuredSrc; };
bootPkgs = bootPkgs.extend (lib.foldr lib.composeExtensions (_:_:{}) [
@@ -36,7 +36,7 @@ let
(callPackage ./common-overrides.nix {
inherit haskellLib;
inherit (bootPkgs) alex;
- happy = bootPkgs.happy_1_19_9;
+ happy = bootPkgs.happy_1_19_5;
})
ghcjsDepOverrides
]); |
9c35b0f to
5c582f3
Compare
|
LGTM |
d075238 to
742348d
Compare
peti
left a comment
There was a problem hiding this comment.
Don't edit hackage-packages.nix.
a9d1519 to
4f31c02
Compare
ab61745 to
5d075ab
Compare
407ecc3 to
33366cc
Compare
a564073 to
35f1e57
Compare
b47e8da to
4fd3f72
Compare
|
@peti okay, updated |
|
@peti is it possible to get this into 19.09? |
|
@yorickvP you can make a PR against the |
This updates ghcjs so it builds, but profiling is currently broken, ghcjs/ghcjs#759
cc @peti @basvandijk @ElvishJerricco @vaibhavsagar