Loading doc/languages-frameworks/haskell.section.md +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ Each of those compiler versions has a corresponding attribute set `packages` bui it. However, the non-standard package sets are not tested regularly and, as a result, contain fewer working packages. The corresponding package set for GHC 9.4.8 is `haskell.packages.ghc948`. In fact, `haskellPackages` (at the time of writing) is just an alias for `haskell.packages.ghc9102`: for `haskell.packages.ghc9103`. Every package set also re-exposes the GHC used to build its packages as `haskell.packages.*.ghc`. Loading pkgs/development/compilers/ghc/9.10.3.nix 0 → 100644 +4 −0 Original line number Diff line number Diff line import ./common-hadrian.nix rec { version = "9.10.3"; sha256 = "d266864b9e0b7b741abe8c9d6a790d7c01c21cf43a1419839119255878ebc59a"; } pkgs/top-level/haskell-packages.nix +29 −4 Original line number Diff line number Diff line Loading @@ -175,11 +175,31 @@ in buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15; llvmPackages = pkgs.llvmPackages_15; }; ghc910 = compiler.ghc9102; ghc9103 = callPackage ../development/compilers/ghc/9.10.3.nix { bootPkgs = if stdenv.buildPlatform.isDarwin then # it seems like the GHC 9.6.* bindists are built with a different # toolchain than we are using (which I'm guessing from the fact # that 9.6.4 bindists pass linker flags our ld doesn't support). # With both 9.6.3 and 9.6.4 binary it is impossible to link against # the clock package (probably a hsc2hs problem). bb.packages.ghc963 else bb.packages.ghc963Binary; inherit (buildPackages.python3Packages) sphinx; # Need to use apple's patched xattr until # https://github.com/xattr/xattr/issues/44 and # https://github.com/xattr/xattr/issues/55 are solved. inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook; # 2023-01-15: Support range >= 11 && < 16 buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15; llvmPackages = pkgs.llvmPackages_15; }; ghc910 = compiler.ghc9103; ghc9121 = callPackage ../development/compilers/ghc/9.12.1.nix { bootPkgs = # No suitable bindist packaged yet bb.packages.ghc9102; bb.packages.ghc9103; inherit (buildPackages.python3Packages) sphinx; # Need to use apple's patched xattr until # https://github.com/xattr/xattr/issues/44 and Loading @@ -192,7 +212,7 @@ in ghc9122 = callPackage ../development/compilers/ghc/9.12.2.nix { bootPkgs = # No suitable bindist packaged yet bb.packages.ghc9102; bb.packages.ghc9103; inherit (buildPackages.python3Packages) sphinx; # Need to use apple's patched xattr until # https://github.com/xattr/xattr/issues/44 and Loading Loading @@ -305,7 +325,12 @@ in ghc = bh.compiler.ghc9102; compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.10.x.nix { }; }; ghc910 = packages.ghc9102; ghc9103 = callPackage ../development/haskell-modules { buildHaskellPackages = bh.packages.ghc9103; ghc = bh.compiler.ghc9103; compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.10.x.nix { }; }; ghc910 = packages.ghc9103; ghc9121 = callPackage ../development/haskell-modules { buildHaskellPackages = bh.packages.ghc9121; ghc = bh.compiler.ghc9121; Loading pkgs/top-level/release-haskell.nix +7 −3 Original line number Diff line number Diff line Loading @@ -69,6 +69,7 @@ let ghc984 ghc9101 ghc9102 ghc9103 # exclude ghc9121 due to severe miscompilation bug ghc9122 ]; Loading Loading @@ -431,8 +432,8 @@ let ; }; haskell.packages.native-bignum.ghc9102 = { inherit (packagePlatforms pkgs.pkgsStatic.haskell.packages.native-bignum.ghc9102) haskell.packages.native-bignum.ghc9103 = { inherit (packagePlatforms pkgs.pkgsStatic.haskell.packages.native-bignum.ghc9103) hello random QuickCheck Loading Loading @@ -554,12 +555,14 @@ let # for 9.10, test that using filepath (instead of filepath-bytestring) works. compilerNames.ghc9101 compilerNames.ghc9102 compilerNames.ghc9103 ]; haskell-language-server = released; hoogle = released; hlint = lib.subtractLists [ compilerNames.ghc9101 compilerNames.ghc9102 compilerNames.ghc9103 compilerNames.ghc9122 ] released; hpack = released; Loading Loading @@ -587,6 +590,7 @@ let weeder = lib.subtractLists [ compilerNames.ghc9101 compilerNames.ghc9102 compilerNames.ghc9103 compilerNames.ghc9122 ] released; }) Loading Loading @@ -667,7 +671,7 @@ let constituents = accumulateDerivations [ jobs.pkgsStatic.haskell.packages.native-bignum.ghc948 # non-hadrian jobs.pkgsStatic.haskellPackages jobs.pkgsStatic.haskell.packages.native-bignum.ghc9102 jobs.pkgsStatic.haskell.packages.native-bignum.ghc9103 ]; }; } Loading Loading
doc/languages-frameworks/haskell.section.md +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ Each of those compiler versions has a corresponding attribute set `packages` bui it. However, the non-standard package sets are not tested regularly and, as a result, contain fewer working packages. The corresponding package set for GHC 9.4.8 is `haskell.packages.ghc948`. In fact, `haskellPackages` (at the time of writing) is just an alias for `haskell.packages.ghc9102`: for `haskell.packages.ghc9103`. Every package set also re-exposes the GHC used to build its packages as `haskell.packages.*.ghc`. Loading
pkgs/development/compilers/ghc/9.10.3.nix 0 → 100644 +4 −0 Original line number Diff line number Diff line import ./common-hadrian.nix rec { version = "9.10.3"; sha256 = "d266864b9e0b7b741abe8c9d6a790d7c01c21cf43a1419839119255878ebc59a"; }
pkgs/top-level/haskell-packages.nix +29 −4 Original line number Diff line number Diff line Loading @@ -175,11 +175,31 @@ in buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15; llvmPackages = pkgs.llvmPackages_15; }; ghc910 = compiler.ghc9102; ghc9103 = callPackage ../development/compilers/ghc/9.10.3.nix { bootPkgs = if stdenv.buildPlatform.isDarwin then # it seems like the GHC 9.6.* bindists are built with a different # toolchain than we are using (which I'm guessing from the fact # that 9.6.4 bindists pass linker flags our ld doesn't support). # With both 9.6.3 and 9.6.4 binary it is impossible to link against # the clock package (probably a hsc2hs problem). bb.packages.ghc963 else bb.packages.ghc963Binary; inherit (buildPackages.python3Packages) sphinx; # Need to use apple's patched xattr until # https://github.com/xattr/xattr/issues/44 and # https://github.com/xattr/xattr/issues/55 are solved. inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook; # 2023-01-15: Support range >= 11 && < 16 buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15; llvmPackages = pkgs.llvmPackages_15; }; ghc910 = compiler.ghc9103; ghc9121 = callPackage ../development/compilers/ghc/9.12.1.nix { bootPkgs = # No suitable bindist packaged yet bb.packages.ghc9102; bb.packages.ghc9103; inherit (buildPackages.python3Packages) sphinx; # Need to use apple's patched xattr until # https://github.com/xattr/xattr/issues/44 and Loading @@ -192,7 +212,7 @@ in ghc9122 = callPackage ../development/compilers/ghc/9.12.2.nix { bootPkgs = # No suitable bindist packaged yet bb.packages.ghc9102; bb.packages.ghc9103; inherit (buildPackages.python3Packages) sphinx; # Need to use apple's patched xattr until # https://github.com/xattr/xattr/issues/44 and Loading Loading @@ -305,7 +325,12 @@ in ghc = bh.compiler.ghc9102; compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.10.x.nix { }; }; ghc910 = packages.ghc9102; ghc9103 = callPackage ../development/haskell-modules { buildHaskellPackages = bh.packages.ghc9103; ghc = bh.compiler.ghc9103; compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.10.x.nix { }; }; ghc910 = packages.ghc9103; ghc9121 = callPackage ../development/haskell-modules { buildHaskellPackages = bh.packages.ghc9121; ghc = bh.compiler.ghc9121; Loading
pkgs/top-level/release-haskell.nix +7 −3 Original line number Diff line number Diff line Loading @@ -69,6 +69,7 @@ let ghc984 ghc9101 ghc9102 ghc9103 # exclude ghc9121 due to severe miscompilation bug ghc9122 ]; Loading Loading @@ -431,8 +432,8 @@ let ; }; haskell.packages.native-bignum.ghc9102 = { inherit (packagePlatforms pkgs.pkgsStatic.haskell.packages.native-bignum.ghc9102) haskell.packages.native-bignum.ghc9103 = { inherit (packagePlatforms pkgs.pkgsStatic.haskell.packages.native-bignum.ghc9103) hello random QuickCheck Loading Loading @@ -554,12 +555,14 @@ let # for 9.10, test that using filepath (instead of filepath-bytestring) works. compilerNames.ghc9101 compilerNames.ghc9102 compilerNames.ghc9103 ]; haskell-language-server = released; hoogle = released; hlint = lib.subtractLists [ compilerNames.ghc9101 compilerNames.ghc9102 compilerNames.ghc9103 compilerNames.ghc9122 ] released; hpack = released; Loading Loading @@ -587,6 +590,7 @@ let weeder = lib.subtractLists [ compilerNames.ghc9101 compilerNames.ghc9102 compilerNames.ghc9103 compilerNames.ghc9122 ] released; }) Loading Loading @@ -667,7 +671,7 @@ let constituents = accumulateDerivations [ jobs.pkgsStatic.haskell.packages.native-bignum.ghc948 # non-hadrian jobs.pkgsStatic.haskellPackages jobs.pkgsStatic.haskell.packages.native-bignum.ghc9102 jobs.pkgsStatic.haskell.packages.native-bignum.ghc9103 ]; }; } Loading