Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8a8bc4f55d14
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 84eeefe294a8
Choose a head ref
  • 2 commits
  • 13 files changed
  • 1 contributor

Commits on Jun 30, 2017

  1. Copy the full SHA
    180bbd4 View commit details
  2. hackage-packages.nix: automatic Haskell package set update

    This update was generated by hackage2nix v2.2.1-13-g5c18fb5 from Hackage revision
    commercialhaskell/all-cabal-hashes@04f3948.
    peti committed Jun 30, 2017

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    84eeefe View commit details
21 changes: 12 additions & 9 deletions pkgs/development/compilers/ghc/head.nix
Original file line number Diff line number Diff line change
@@ -48,6 +48,7 @@ in stdenv.mkDerivation (rec {
configureFlags = [
"CC=${stdenv.cc}/bin/cc"
"--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
"--datadir=$doc/share/doc/ghc"
] ++ stdenv.lib.optional (! enableIntegerSimple) [
"--with-gmp-includes=${gmp.dev}/include" "--with-gmp-libraries=${gmp.out}/lib"
] ++ stdenv.lib.optional stdenv.isDarwin [
@@ -74,6 +75,8 @@ in stdenv.mkDerivation (rec {
done
'';

outputs = [ "out" "doc" ];

passthru = {
inherit bootPkgs;
} // stdenv.lib.optionalAttrs (targetPlatform != buildPlatform) {
@@ -98,26 +101,26 @@ in stdenv.mkDerivation (rec {
'';

configureFlags = [
"CC=${stdenv.ccCross}/bin/${cross.config}-cc"
"LD=${stdenv.binutils}/bin/${cross.config}-ld"
"AR=${stdenv.binutils}/bin/${cross.config}-ar"
"NM=${stdenv.binutils}/bin/${cross.config}-nm"
"RANLIB=${stdenv.binutils}/bin/${cross.config}-ranlib"
"CC=${stdenv.cc}/bin/${cross.config}-cc"
"LD=${stdenv.cc}/bin/${cross.config}-ld"
"AR=${stdenv.cc}/bin/${cross.config}-ar"
"NM=${stdenv.cc}/bin/${cross.config}-nm"
"RANLIB=${stdenv.cc}/bin/${cross.config}-ranlib"
"--target=${cross.config}"
"--enable-bootstrap-with-devel-snapshot"
] ++
# fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
lib.optional (cross.config or null == "aarch64-apple-darwin14") "--disable-large-address-space";

buildInputs = commonBuildInputs ++ [ stdenv.ccCross stdenv.binutils ];
buildInputs = commonBuildInputs;

dontSetConfigureCross = true;
configurePlatforms = [];

passthru = {
inherit bootPkgs cross;

cc = "${stdenv.ccCross}/bin/${cross.config}-cc";
cc = "${stdenv.cc}/bin/${cross.config}-cc";

ld = "${stdenv.binutils}/bin/${cross.config}-ld";
ld = "${stdenv.cc}/bin/${cross.config}-ld";
};
})
7 changes: 5 additions & 2 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ self: super: {
hasql-postgres = dontCheck super.hasql-postgres;
hspec-expectations = dontCheck super.hspec-expectations;
hspec = super.hspec.override { stringbuilder = dontCheck super.stringbuilder; };
hspec-core = super.hspec-core.override { silently = dontCheck super.silently; temporary = dontCheck super.temporary; };
HTTP = dontCheck super.HTTP;
nanospec = dontCheck super.nanospec;
options = dontCheck super.options;
@@ -62,14 +63,16 @@ self: super: {

# The Hackage tarball is purposefully broken, because it's not intended to be, like, useful.
# https://git-annex.branchable.com/bugs/bash_completion_file_is_missing_in_the_6.20160527_tarball_on_hackage/
git-annex = ((overrideCabal super.git-annex (drv: {
git-annex = (overrideCabal (super.git-annex.overrideScope (self: super: {
optparse-applicative = self.optparse-applicative_0_14_0_0;
})) (drv: {
src = pkgs.fetchgit {
name = "git-annex-${drv.version}-src";
url = "git://git-annex.branchable.com/";
rev = "refs/tags/" + drv.version;
sha256 = "1psyklfyjf4zqh3qxjn11sp2jiwvp8mfxqvsi1wggqpidfmk39jx";
};
}))).override {
})).override {
dbus = if pkgs.stdenv.isLinux then self.dbus else null;
fdo-notify = if pkgs.stdenv.isLinux then self.fdo-notify else null;
hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify;
4 changes: 4 additions & 0 deletions pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix
Original file line number Diff line number Diff line change
@@ -80,4 +80,8 @@ self: super: {
# Needs nats on pre 7.6.x compilers.
semigroups = addBuildDepend super.semigroups self.nats;

# Newer versions don't compile any longer.
network_2_6_3_1 = dontCheck super.network_2_6_3_1;
network = self.network_2_6_3_1;

}
11 changes: 6 additions & 5 deletions pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix
Original file line number Diff line number Diff line change
@@ -72,13 +72,14 @@ self: super: {
# Newer versions require bytestring >=0.10.
tar = super.tar_0_4_1_0;

# Needs void on pre 7.10.x compilers.
# These builds need additional dependencies on old compilers.
conduit = addBuildDepend super.conduit self.void;

# Needs tagged on pre 7.6.x compilers.
reflection = addBuildDepend super.reflection self.tagged;

# Needs nats on pre 7.6.x compilers.
semigroups = addBuildDepend super.semigroups self.nats;
optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;

# Newer versions don't compile any longer.
network_2_6_3_1 = dontCheck super.network_2_6_3_1;
network = self.network_2_6_3_1;

}
7 changes: 6 additions & 1 deletion pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix
Original file line number Diff line number Diff line change
@@ -97,8 +97,13 @@ self: super: {
# Needs tagged on pre 7.6.x compilers.
reflection = addBuildDepend super.reflection self.tagged;

# These builds Need additional dependencies on pre 7.6.x compilers.
# These builds need additional dependencies on old compilers.
semigroups = addBuildDepends super.semigroups (with self; [nats bytestring-builder tagged unordered-containers transformers]);
QuickCheck = addBuildDepends super.QuickCheck (with self; [nats semigroups]);
optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;

# Newer versions don't compile any longer.
network_2_6_3_1 = dontCheck super.network_2_6_3_1;
network = self.network_2_6_3_1;

}
3 changes: 2 additions & 1 deletion pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
Original file line number Diff line number Diff line change
@@ -93,12 +93,13 @@ self: super: {
# Needs void on pre 7.10.x compilers.
conduit = addBuildDepend super.conduit self.void;

# Needs additional inputs on pre 7.10.x compilers.
# Needs additional inputs on old compilers.
semigroups = addBuildDepends super.semigroups (with self; [bytestring-builder nats tagged unordered-containers transformers]);
lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]);
distributive = addBuildDepend super.distributive self.semigroups;
QuickCheck = addBuildDepend super.QuickCheck self.semigroups;
void = addBuildDepends super.void (with self; [hashable semigroups]);
optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;

# Need a newer version of Cabal to interpret their build instructions.
cmdargs = addSetupDepend super.cmdargs self.Cabal_1_24_2_0;
3 changes: 2 additions & 1 deletion pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix
Original file line number Diff line number Diff line change
@@ -143,12 +143,13 @@ self: super: {
hashable = dontCheck super.hashable;
unordered-containers = dontCheck super.unordered-containers;

# Needs additional inputs on pre 7.10.x compilers.
# Needs additional inputs on old compilers.
semigroups = addBuildDepends super.semigroups (with self; [nats tagged unordered-containers]);
lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]);
distributive = addBuildDepend super.distributive self.semigroups;
QuickCheck = addBuildDepends super.QuickCheck (with self; [nats semigroups]);
void = addBuildDepends super.void (with self; [hashable semigroups]);
optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;

# Haddock doesn't cope with the new markup.
bifunctors = dontHaddock super.bifunctors;
2 changes: 2 additions & 0 deletions pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix
Original file line number Diff line number Diff line change
@@ -55,5 +55,7 @@ self: super: {
# https://github.com/thoughtbot/yesod-auth-oauth2/pull/77
yesod-auth-oauth2 = doJailbreak super.yesod-auth-oauth2;

# https://github.com/nominolo/ghc-syb/issues/20
ghc-syb-utils = dontCheck super.ghc-syb-utils;

}
2 changes: 2 additions & 0 deletions pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
Original file line number Diff line number Diff line change
@@ -56,5 +56,7 @@ self: super: {
# https://github.com/thoughtbot/yesod-auth-oauth2/pull/77
yesod-auth-oauth2 = doJailbreak super.yesod-auth-oauth2;

# https://github.com/nominolo/ghc-syb/issues/20
ghc-syb-utils = dontCheck super.ghc-syb-utils;

}
Loading