Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
6f73d05
Merge master into haskell-updates
github-actions[bot] Jan 27, 2023
3f7b822
Merge master into haskell-updates
github-actions[bot] Jan 28, 2023
e4541bc
haskellPackages: stackage LTS 20.6 -> LTS 20.8
cdepillabout Jan 28, 2023
c4d0811
all-cabal-hashes: 2023-01-12T12:18:29Z -> 2023-01-28T02:06:09Z
cdepillabout Jan 28, 2023
0c439ea
haskellPackages: regenerate package set based on current config
cdepillabout Jan 28, 2023
4cf2e4c
haskellPackages.bytepatch: unmark broken
raehik Jan 27, 2023
e582d0e
Merge master into haskell-updates
github-actions[bot] Jan 29, 2023
a675506
all-cabal-hashes: 2023-01-28T02:06:09Z -> 2023-01-29T01:30:53Z
cdepillabout Jan 29, 2023
00e91ba
haskellPackages: regenerate package set based on current config
cdepillabout Jan 29, 2023
c4d4608
haskellPackages: mark some broken packages as not broken
prsteele Jan 19, 2023
9dd80f0
Merge pull request #212967 from raehik/haskell-unbreak-bytepatch
cdepillabout Jan 29, 2023
e92ea6d
haskellPackages: Fix eval by bumping pinned versions
maralorn Jan 29, 2023
3ead6d0
haskellPackages: regenerate package set based on current config
cdepillabout Jan 29, 2023
3988efd
haskellPackages.ghcide: Drop maintainership
maralorn Jan 29, 2023
3b23105
haskellPackages.clay: Fix build and make maralorn maintainer
maralorn Jan 29, 2023
8298122
haskellPackages.graphql-client: Fix build and make maralorn maintainer
maralorn Jan 29, 2023
0ff0d08
haskellPackages.streamly-bytestring: Fix build and make maralorn main…
maralorn Jan 29, 2023
6af0844
haskellPackages.pandoc-{cli,crossref}: Make maralorn maintainer
maralorn Jan 29, 2023
4be2c3a
haskellPackages: ignore maintainers without email
cdepillabout Jan 29, 2023
db23074
Merge master into haskell-updates
github-actions[bot] Jan 30, 2023
d9a9c95
Merge pull request #213473 from cdepillabout/ignore-emailless-maint
cdepillabout Jan 30, 2023
fb13040
Merge master into haskell-updates
github-actions[bot] Jan 31, 2023
7a70efc
haskellPackages.hopenssl: link against openssl 3.0
sternenseemann Jan 31, 2023
3ecdb69
haskellPackages.FailT: remove broken flag
sternenseemann Jan 31, 2023
a16864e
git-annex: update sha256 for 10.20230126
sternenseemann Jan 31, 2023
c57b631
Merge remote-tracking branch 'origin/master' into haskell-updates
sternenseemann Jan 31, 2023
2056957
Merge master into haskell-updates
github-actions[bot] Feb 1, 2023
6153510
Merge master into haskell-updates
github-actions[bot] Feb 2, 2023
a0b0569
haskell.packages.ghc92.weeder: pin to supported 2.4.* versions
sternenseemann Feb 2, 2023
77d65a5
haskell-language-server: fix
ncfavier Feb 2, 2023
69514aa
Merge master into haskell-updates
github-actions[bot] Feb 3, 2023
0cc3361
Merge pull request #214173 from ncfavier/hls
maralorn Feb 3, 2023
b2c5d34
haskellPackages: propagate platform meta values where necessary
sternenseemann Feb 3, 2023
27179a2
Merge master into haskell-updates
github-actions[bot] Feb 4, 2023
63862f4
haskell.packages.ghc94.X11-xft: automate workaround for cabal#8455
sternenseemann Feb 4, 2023
962633e
haskell.packages.ghc94.gtk2hs-buildtools: gtk2hs setup hook broken fo…
peti Feb 2, 2023
ef3a8f1
haskell.packages.ghc94.{glib,cairo,pango}: apply cabal#8455 fix
sternenseemann Feb 4, 2023
83f8025
haskellPackages.hslua-list: unmark as broken
ncfavier Feb 4, 2023
bfd3325
haskell.packages.ghc94.libmpd: needs a jailbreak to succeed
peti Feb 2, 2023
f0a4d98
haskell.packages.ghc94.ormolu: use latest version for ghc-9.4.x
peti Feb 2, 2023
20f68e7
haskell.packages.ghc94.haskell-language-server: update list of suppor…
peti Feb 2, 2023
77e4641
Merge pull request #214145 from peti/master
peti Feb 4, 2023
1da3736
Merge master into haskell-updates
github-actions[bot] Feb 5, 2023
18c0c48
haskellPackages.mkDerivation: buildPkgDb: use haskellCompilerName
sternenseemann Jan 20, 2023
a9b8a27
haskellPackages.mkDerivation: refactor libdir calculation
sternenseemann Jan 22, 2023
f45f7cb
haskellPackages: support hadrian libdir layout
sternenseemann Jan 22, 2023
5318038
haskellPackages.ghcWithPackages: fix whitespace alignment
sternenseemann Jan 22, 2023
902701c
haskell.compiler.ghc924Binary: tag bindists built using hadrian
sternenseemann Jan 22, 2023
36005f5
haskell.compiler.ghc8102Binary: tag bindists built using hadrian
sternenseemann Jan 22, 2023
328d6f8
haskell.compiler.ghc8107Binary: tag bindists built using hadrian
sternenseemann Jan 22, 2023
3f3dc60
Merge master into haskell-updates
github-actions[bot] Feb 6, 2023
671861e
Merge master into haskell-updates
github-actions[bot] Feb 7, 2023
e9cf3f7
haskellPackages.hslua-core: skip tests for Musl
superherointj Feb 6, 2023
27f7c8a
Merge pull request #214942 from superherointj/fix-pkgsMusl.haskellPac…
cdepillabout Feb 7, 2023
f812f1a
Merge master into haskell-updates
github-actions[bot] Feb 8, 2023
ed5543b
haskellPackages.pandoc-crossref: Backpin for LTS compat
maralorn Feb 8, 2023
bc06331
haskellPackages.pandoc-cli: Mark broken until we bump stackage
maralorn Feb 8, 2023
40a581b
Merge master into haskell-updates
github-actions[bot] Feb 9, 2023
3eecda0
Merge master into haskell-updates
github-actions[bot] Feb 10, 2023
45c9465
haskellPackages: mark builds failing on hydra as broken
expipiplus1 Feb 10, 2023
a4d9bba
Merge remote-tracking branch 'origin/master' into haskell-updates
expipiplus1 Feb 10, 2023
8b6e0c6
Merge master into haskell-updates
github-actions[bot] Feb 11, 2023
b893658
Merge master into haskell-updates
github-actions[bot] Feb 12, 2023
32eecc6
haskellPackages.heystone: fix darwin dylibs
cdepillabout Feb 5, 2023
7f60074
Merge pull request #214680 from cdepillabout/heystone-darwin
cdepillabout Feb 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion maintainers/scripts/haskell/maintainer-handles.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
# Nix script to lookup maintainer github handles from their email address. Used by ./hydra-report.hs.
#
# This script produces an attr set mapping of email addresses to GitHub handles:
#
# ```nix
# > import ./maintainer-handles.nix
# { "cdep.illabout@gmail.com" = "cdepillabout"; "john@smith.com" = "johnsmith"; ... }
# ```
#
# This mapping contains all maintainers in ../../mainatainer-list.nix, but it
# ignores maintainers who don't have a GitHub account or an email address.
let
pkgs = import ../../.. {};
maintainers = import ../../maintainer-list.nix;
inherit (pkgs) lib;
mkMailGithubPair = _: maintainer: if maintainer ? github then { "${maintainer.email}" = maintainer.github; } else {};
mkMailGithubPair = _: maintainer:
if (maintainer ? email) && (maintainer ? github) then
{ "${maintainer.email}" = maintainer.github; }
else
{};
in lib.zipAttrsWith (_: builtins.head) (lib.mapAttrsToList mkMailGithubPair maintainers)
8 changes: 4 additions & 4 deletions pkgs/data/misc/hackage/pin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commit": "75d1bbbd68d9ae36d527666e2f140343323b02fa",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/75d1bbbd68d9ae36d527666e2f140343323b02fa.tar.gz",
"sha256": "018lz90f12bw8n8g4rbwfbnpmw6g3vblc12pd4qzq727h1d27p5l",
"msg": "Update from Hackage at 2023-01-12T12:18:29Z"
"commit": "307653b893cc53ffa71d6931c33101d352e3ead1",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/307653b893cc53ffa71d6931c33101d352e3ead1.tar.gz",
"sha256": "0mgmmzdlb9j4drkjjdrp2da8z4can7gg8zd007ya2jw17rz270hz",
"msg": "Update from Hackage at 2023-01-29T01:30:53Z"
}
8 changes: 8 additions & 0 deletions pkgs/development/compilers/ghc/8.10.2-binary.nix
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ let
# instead of `libtinfo.so.*.`
{ nixPackage = ncurses6; fileToCheckFor = "libncursesw.so.6"; }
];
isHadrian = true;
};
};
};
Expand Down Expand Up @@ -420,6 +421,13 @@ stdenv.mkDerivation rec {

# Our Cabal compiler name
haskellCompilerName = "ghc-${version}";
} // lib.optionalAttrs (binDistUsed.isHadrian or false) {
# Normal GHC derivations expose the hadrian derivation used to build them
# here. In the case of bindists we just make sure that the attribute exists,
# as it is used for checking if a GHC derivation has been built with hadrian.
# The isHadrian mechanism will become obsolete with GHCs that use hadrian
# exclusively, i.e. 9.6 (and 9.4?).
hadrian = null;
};

meta = rec {
Expand Down
8 changes: 8 additions & 0 deletions pkgs/development/compilers/ghc/8.10.7-binary.nix
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ let
# instead of `libtinfo.so.*.`
{ nixPackage = ncurses6; fileToCheckFor = "libncursesw.so.6"; }
];
isHadrian = true;
};
};
};
Expand Down Expand Up @@ -416,6 +417,13 @@ stdenv.mkDerivation rec {

# Our Cabal compiler name
haskellCompilerName = "ghc-${version}";
} // lib.optionalAttrs (binDistUsed.isHadrian or false) {
# Normal GHC derivations expose the hadrian derivation used to build them
# here. In the case of bindists we just make sure that the attribute exists,
# as it is used for checking if a GHC derivation has been built with hadrian.
# The isHadrian mechanism will become obsolete with GHCs that use hadrian
# exclusively, i.e. 9.6 (and 9.4?).
hadrian = null;
};

meta = rec {
Expand Down
10 changes: 10 additions & 0 deletions pkgs/development/compilers/ghc/9.2.4-binary.nix
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ let
{ nixPackage = ncurses6; fileToCheckFor = null; }
{ nixPackage = libiconv; fileToCheckFor = null; }
];
isHadrian = true;
};
aarch64-darwin = {
variantSuffix = "";
Expand All @@ -107,6 +108,7 @@ let
{ nixPackage = ncurses6; fileToCheckFor = null; }
{ nixPackage = libiconv; fileToCheckFor = null; }
];
isHadrian = true;
};
};
# Binary distributions for the musl libc for the respective system.
Expand All @@ -118,6 +120,7 @@ let
sha256 = "026348947d30a156b84de5d6afeaa48fdcb2795b47954cd8341db00d3263a481";
};
isStatic = true;
isHadrian = true;
# We can't check the RPATH for statically linked executable
exePathForLibraryCheck = null;
archSpecificLibraries = [
Expand Down Expand Up @@ -400,6 +403,13 @@ stdenv.mkDerivation rec {

# Our Cabal compiler name
haskellCompilerName = "ghc-${version}";
} // lib.optionalAttrs (binDistUsed.isHadrian or false) {
# Normal GHC derivations expose the hadrian derivation used to build them
# here. In the case of bindists we just make sure that the attribute exists,
# as it is used for checking if a GHC derivation has been built with hadrian.
# The isHadrian mechanism will become obsolete with GHCs that use hadrian
# exclusively, i.e. 9.6 (and 9.4?).
hadrian = null;
};

meta = rec {
Expand Down
37 changes: 21 additions & 16 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ self: super: {
name = "git-annex-${super.git-annex.version}-src";
url = "git://git-annex.branchable.com/";
rev = "refs/tags/" + super.git-annex.version;
sha256 = "052ld021yvjbnx1sbj1ryflsyn0v1y1ygx1zv0ql6fk3cysw5lxf";
sha256 = "0f2nnszfiqwdgfky3190prkhcndp0mva3jk7a6cl461w8kp1jspa";
# delete android and Android directories which cause issues on
# darwin (case insensitive directory). Since we don't need them
# during the build process, we can delete it to prevent a hash
Expand Down Expand Up @@ -138,6 +138,8 @@ self: super: {
# https://github.com/techtangents/ablist/issues/1
ABList = dontCheck super.ABList;

pandoc-cli = throwIfNot (versionOlder super.pandoc.version "3.0.0") "pandoc-cli contains the pandoc executable starting with 3.0, this needs to be considered now." (markBroken (dontDistribute super.pandoc-cli));

# sse2 flag due to https://github.com/haskell/vector/issues/47.
# Jailbreak is necessary for QuickCheck dependency.
vector = doJailbreak (if pkgs.stdenv.isi686 then appendConfigureFlag "--ghc-options=-msse2" super.vector else super.vector);
Expand Down Expand Up @@ -171,6 +173,9 @@ self: super: {
# Fails no apparent reason. Upstream has been notified by e-mail.
assertions = dontCheck super.assertions;

# 2023-01-29: Restrictive base bound already loosened on master but not released: https://github.com/sebastiaanvisser/clay/commit/4483bdf7a452903f177220958f1610030ab7f28a
clay = throwIfNot (super.clay.version == "0.14.0") "Remove clay jailbreak in configuration-common.nix when you see this eval error." (doJailbreak super.clay);

# These packages try to execute non-existent external programs.
cmaes = dontCheck super.cmaes; # http://hydra.cryp.to/build/498725/log/raw
dbmigrations = dontCheck super.dbmigrations;
Expand All @@ -197,9 +202,15 @@ self: super: {
HerbiePlugin = dontCheck super.HerbiePlugin;
wai-cors = dontCheck super.wai-cors;

# 2022-01-29: Tests fail: https://github.com/psibi/streamly-bytestring/issues/27
streamly-bytestring = dontCheck super.streamly-bytestring;

# base bound
digit = doJailbreak super.digit;

# 2022-01-29: Tests require package to be in ghc-db.
aeson-schemas = dontCheck super.aeson-schemas;

# matterhorn-50200.17.0 won't work with brick >= 0.71, brick-skylighting >= 1.0
matterhorn = doJailbreak (super.matterhorn.overrideScope (self: super: {
brick = self.brick_0_70_1;
Expand Down Expand Up @@ -747,9 +758,9 @@ self: super: {
testHaskellDepends = drv.testHaskellDepends or [] ++ [ self.hspec-meta_2_10_5 ];
testToolDepends = drv.testToolDepends or [] ++ [ pkgs.git ];
}) (super.sensei.override {
hspec = self.hspec_2_10_8;
hspec = self.hspec_2_10_9;
hspec-wai = super.hspec-wai.override {
hspec = self.hspec_2_10_8;
hspec = self.hspec_2_10_9;
};
});

Expand Down Expand Up @@ -920,12 +931,9 @@ self: super: {
'';
}) super.hpack;

# hslua has tests that appear to break when using musl.
# hslua has tests that break when using musl.
# https://github.com/hslua/hslua/issues/106
# Note that hslua is currently version 1.3. However, in the latest version
# (>= 2.0), hslua has been split into multiple packages and this override
# will likely need to be moved to the hslua-core package.
hslua = if pkgs.stdenv.hostPlatform.isMusl then dontCheck super.hslua else super.hslua;
hslua-core = if pkgs.stdenv.hostPlatform.isMusl then dontCheck super.hslua-core else super.hslua-core;

# The test suite runs for 20+ minutes on a very fast machine, which feels kinda disproportionate.
prettyprinter = dontCheck super.prettyprinter;
Expand Down Expand Up @@ -1436,14 +1444,14 @@ self: super: {
servant-openapi3 = dontCheck super.servant-openapi3;

# Give hspec 2.10.* correct dependency versions without overrideScope
hspec_2_10_8 = doDistribute (super.hspec_2_10_8.override {
hspec-discover = self.hspec-discover_2_10_8;
hspec-core = self.hspec-core_2_10_8;
hspec_2_10_9 = doDistribute (super.hspec_2_10_9.override {
hspec-discover = self.hspec-discover_2_10_9;
hspec-core = self.hspec-core_2_10_9;
});
hspec-discover_2_10_8 = super.hspec-discover_2_10_8.override {
hspec-discover_2_10_9 = super.hspec-discover_2_10_9.override {
hspec-meta = self.hspec-meta_2_10_5;
};
hspec-core_2_10_8 = super.hspec-core_2_10_8.override {
hspec-core_2_10_9 = super.hspec-core_2_10_9.override {
hspec-meta = self.hspec-meta_2_10_5;
};

Expand Down Expand Up @@ -2026,9 +2034,6 @@ self: super: {
# https://github.com/kuribas/mfsolve/issues/8
mfsolve = dontCheck super.mfsolve;

# https://github.com/peti/hopenssl/issues/5
hopenssl = super.hopenssl.override { openssl = pkgs.openssl_1_1; };

# Fixes compilation with GHC 9.0 and above
# https://hub.darcs.net/shelarcy/regex-compat-tdfa/issue/3
regex-compat-tdfa = appendPatches [
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/haskell-modules/configuration-darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,8 @@ self: super: ({
# https://github.com/NixOS/nixpkgs/issues/149692
Agda = removeConfigureFlag "-foptimise-heavily" super.Agda;

heystone = addBuildTool pkgs.fixDarwinDylibNames super.heystone;

} // lib.optionalAttrs pkgs.stdenv.isx86_64 { # x86_64-darwin

# tests appear to be failing to link or something:
Expand Down
3 changes: 3 additions & 0 deletions pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ self: super: {
process = self.process_1_6_16_0;
});

# weeder == 2.5.* requires GHC 9.4
weeder = doDistribute self.weeder_2_4_1;

# Jailbreaks & Version Updates
hashable-time = doJailbreak super.hashable-time;

Expand Down
36 changes: 22 additions & 14 deletions pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,16 @@ in {
singleton-bool = doJailbreak super.singleton-bool;
rope-utf16-splay = doDistribute self.rope-utf16-splay_0_4_0_0;
shake-cabal = doDistribute self.shake-cabal_0_2_2_3;

libmpd = doJailbreak super.libmpd;
base-orphans = dontCheck super.base-orphans;

# Note: Any compilation fixes need to be done on the versioned attributes,
# since those are used for the internal dependencies between the versioned
# hspec packages in configuration-common.nix.
hspec = self.hspec_2_10_8;
hspec-core = self.hspec-core_2_10_8;
hspec = self.hspec_2_10_9;
hspec-core = self.hspec-core_2_10_9;
hspec-meta = self.hspec-meta_2_10_5;
hspec-discover = self.hspec-discover_2_10_8;
hspec-discover = self.hspec-discover_2_10_9;

# the dontHaddock is due to a GHC panic. might be this bug, not sure.
# https://gitlab.haskell.org/ghc/ghc/-/issues/21619
Expand Down Expand Up @@ -184,26 +184,34 @@ in {
})
self.ghc-exactprint_1_6_1_1;

# 2022-10-06: plugins disabled for hls 1.8.0.0 based on
# 2023-02-01: plugins disabled for hls 1.9.0.0 based on
# https://haskell-language-server.readthedocs.io/en/latest/support/plugin-support.html#current-plugin-support-tiers
haskell-language-server = super.haskell-language-server.override {
hls-refactor-plugin = null;
hls-eval-plugin = null;
hls-floskell-plugin = null;
hls-ormolu-plugin = null;
hls-rename-plugin = null;
hls-ormolu-plugin = null; # This plugin is supposed to work, but fails to compile.
hls-floskell-plugin = null; # This plugin is supposed to work, but fails to compile.
hls-rename-plugin = null; # This plugin is supposed to work, but fails to compile.
hls-stylish-haskell-plugin = null;
};

# https://github.com/tweag/ormolu/issues/941
ormolu = overrideCabal (drv: {
libraryHaskellDepends = drv.libraryHaskellDepends ++ [ self.file-embed ];
}) (disableCabalFlag "fixity-th" super.ormolu);
ormolu = doDistribute self.ormolu_0_5_2_0;
fourmolu = overrideCabal (drv: {
libraryHaskellDepends = drv.libraryHaskellDepends ++ [ self.file-embed ];
}) (disableCabalFlag "fixity-th" super.fourmolu_0_10_1_0);

# The Haskell library has additional dependencies when compiled with ghc-9.4.x.
X11-xft = addExtraLibraries [pkgs.xorg.libXau pkgs.xorg.libXdmcp pkgs.expat] super.X11-xft;
# Apply workaround for Cabal 3.8 bug https://github.com/haskell/cabal/issues/8455
# by making `pkg-config --static` happy. Note: Cabal 3.9 is also affected, so
# the GHC 9.6 configuration may need similar overrides eventually.
X11-xft = __CabalEagerPkgConfigWorkaround super.X11-xft;
# Jailbreaks for https://github.com/gtk2hs/gtk2hs/issues/323#issuecomment-1416723309
glib = __CabalEagerPkgConfigWorkaround (doJailbreak super.glib);
cairo = __CabalEagerPkgConfigWorkaround (doJailbreak super.cairo);
pango = __CabalEagerPkgConfigWorkaround (doJailbreak super.pango);

# The gtk2hs setup hook provided by this package lacks the ppOrdering field that
# recent versions of Cabal require. This leads to builds like cairo and glib
# failing during the Setup.hs phase: https://github.com/gtk2hs/gtk2hs/issues/323.
gtk2hs-buildtools = appendPatch ./patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch super.gtk2hs-buildtools;

}
Loading