Skip to content

Commit 55b8a42

Browse files
committed
Add missing package keys
1 parent ce1a3fc commit 55b8a42

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

lib/ghcjs-project.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ let
171171
})
172172
{
173173
packages.ghcjs.doHaddock = false;
174-
packages.haddock-ghcjs.doHaddock = false;
175-
packages.haddock-api-ghcjs.doHaddock = false;
176174
packages.ghc.flags.ghci = true;
177175
packages.ghci.flags.ghci = true;
178176
# packages.ghcjs.components.library.configureFlags = [ "-fno-wrapper-install" ];

overlays/armv6l-linux.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final: prev:
2424
# Therefore let's enable doCrossCheck here!
2525
doCrossCheck = pkgs.stdenv.hostPlatform.isWindows;
2626
};
27-
in {
27+
in prev.haskell-nix.haskellLib.addPackageKeys {
2828
packages = {
2929
# clock 0.7.2 needs to be patched to support cross compilation.
3030
clock.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isAarch32 [ ({ version }: (if version == "0.7.2" then ./patches/clock-0.7.2.patch else null)) ];

overlays/darwin.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ _final: prev:
22
{
33
haskell-nix = prev.haskell-nix // ({
44
defaultModules = prev.haskell-nix.defaultModules ++ [
5-
({ pkgs, buildModules, config, lib, ... }:
5+
({ pkgs, buildModules, config, lib, ... }: prev.haskell-nix.haskellLib.addPackageKeys
66
{
77
packages = { } // pkgs.lib.optionalAttrs (pkgs.stdenv.hostPlatform.isDarwin && !pkgs.stdenv.cc.nativeLibc)
88
{

overlays/ghcjs.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ final: prev:
22
{
33
haskell-nix = prev.haskell-nix // ({
44
defaultModules = prev.haskell-nix.defaultModules ++ final.lib.optional final.stdenv.hostPlatform.isGhcjs (
5-
({ pkgs, buildModules, config, lib, ... }: {
5+
({ pkgs, buildModules, config, lib, ... }: prev.haskell-nix.haskellLib.addPackageKeys {
66
# Apply the patches that came with `ghcjs`
77
# Also add a "Keep alive" message to prevent hydra timeouts when hsc2hs runs
88
packages = pkgs.lib.genAttrs ["base" "directory" "filepath" "ghc-prim" "integer-gmp" "process" "template-haskell" "time" "unix" "Win32" ]

0 commit comments

Comments
 (0)