Merge pull request #192273 from NixOS/haskell-updates

haskellPackages: update stackage and hackage

authored by

maralorn and committed by
GitHub
84e79cfb 87cfa16c

+853 -873
+4 -4
pkgs/data/misc/hackage/pin.json
··· 1 1 { 2 - "commit": "e456824564bb5457549a70dc03c7ae00b3dfaec3", 3 - "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/e456824564bb5457549a70dc03c7ae00b3dfaec3.tar.gz", 4 - "sha256": "0kvjhghjhs5b6ldp4yyyy158lqk54aahqqp4n0mm67p7qv09i5xr", 5 - "msg": "Update from Hackage at 2022-09-19T12:29:18Z" 2 + "commit": "12bd870a1ed095ff74dbe08ef4d5d930821e878d", 3 + "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/12bd870a1ed095ff74dbe08ef4d5d930821e878d.tar.gz", 4 + "sha256": "196pl60xyv4ij1nxz4hv5fhmliisb5dmxl8w1jfl07z22cpd92p5", 5 + "msg": "Update from Hackage at 2022-09-21T15:25:15Z" 6 6 }
+2 -3
pkgs/development/compilers/ghc/9.4.2.nix
··· 1 - # Preliminary GHC 9.4.2 expression using the make build system. 2 - # TODO(@sternenseemann): port to hadrian, so we are prepared for 9.6 3 - # where make support will be dropped. 1 + # DO NOT port this expression to hadrian. It is not possible to build a GHC 2 + # cross compiler with 9.4.* and hadrian. 4 3 { lib, stdenv, pkgsBuildTarget, pkgsHostTarget, targetPackages 5 4 6 5 # build-tools
+491
pkgs/development/compilers/ghc/common-hadrian.nix
··· 1 + { version 2 + , rev ? null 3 + , sha256 4 + , url ? 5 + if rev != null 6 + then "https://gitlab.haskell.org/ghc/ghc.git" 7 + else "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz" 8 + 9 + }: 10 + 11 + { lib 12 + , stdenv 13 + , pkgsBuildTarget 14 + , pkgsHostTarget 15 + , targetPackages 16 + 17 + # build-tools 18 + , bootPkgs 19 + , autoconf 20 + , automake 21 + , coreutils 22 + , fetchpatch 23 + , fetchurl 24 + , fetchgit 25 + , perl 26 + , python3 27 + , m4 28 + , sphinx 29 + , xattr 30 + , autoSignDarwinBinariesHook 31 + , bash 32 + 33 + , libiconv ? null, ncurses 34 + , glibcLocales ? null 35 + 36 + , # GHC can be built with system libffi or a bundled one. 37 + libffi ? null 38 + 39 + , useLLVM ? !(stdenv.targetPlatform.isx86 40 + || stdenv.targetPlatform.isPower 41 + || stdenv.targetPlatform.isSparc 42 + || (stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin)) 43 + , # LLVM is conceptually a run-time-only depedendency, but for 44 + # non-x86, we need LLVM to bootstrap later stages, so it becomes a 45 + # build-time dependency too. 46 + buildTargetLlvmPackages 47 + , llvmPackages 48 + 49 + , # If enabled, GHC will be built with the GPL-free but slightly slower native 50 + # bignum backend instead of the faster but GPLed gmp backend. 51 + enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp) 52 + , gmp 53 + 54 + , # If enabled, use -fPIC when compiling static libs. 55 + enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform 56 + 57 + # aarch64 outputs otherwise exceed 2GB limit 58 + , enableProfiledLibs ? !stdenv.targetPlatform.isAarch64 59 + 60 + , # Whether to build dynamic libs for the standard library (on the target 61 + # platform). Static libs are always built. 62 + enableShared ? with stdenv.targetPlatform; !isWindows && !useiOSPrebuilt && !isStatic 63 + 64 + , # Whether to build terminfo. 65 + enableTerminfo ? !stdenv.targetPlatform.isWindows 66 + 67 + , # Libdw.c only supports x86_64, i686 and s390x as of 2022-08-04 68 + enableDwarf ? (stdenv.targetPlatform.isx86 || 69 + (stdenv.targetPlatform.isS390 && stdenv.targetPlatform.is64bit)) && 70 + lib.meta.availableOn stdenv.hostPlatform elfutils && 71 + lib.meta.availableOn stdenv.targetPlatform elfutils && 72 + # HACK: elfutils is marked as broken on static platforms 73 + # which availableOn can't tell. 74 + !stdenv.targetPlatform.isStatic && 75 + !stdenv.hostPlatform.isStatic 76 + , elfutils 77 + 78 + , # What flavour to build. Flavour string may contain a flavour and flavour 79 + # transformers as accepted by hadrian. 80 + ghcFlavour ? 81 + let 82 + # TODO(@sternenseemann): does using the static flavour make sense? 83 + baseFlavour = "release"; 84 + # Note: in case hadrian's flavour transformers cease being expressive 85 + # enough for us, we'll need to resort to defining a "nixpkgs" flavour 86 + # in hadrianUserSettings and using that instead. 87 + transformers = 88 + lib.optionals useLLVM [ "llvm" ] 89 + ++ lib.optionals (!enableShared) [ 90 + "fully_static" 91 + "no_dynamic_ghc" 92 + ] 93 + ++ lib.optionals (!enableProfiledLibs) [ "no_profiled_libs" ] 94 + # While split sections are now enabled by default in ghc 8.8 for windows, 95 + # they seem to lead to `too many sections` errors when building base for 96 + # profiling. 97 + ++ lib.optionals (!stdenv.targetPlatform.isWindows) [ "split_sections" ] 98 + ; 99 + in 100 + baseFlavour + lib.concatMapStrings (t: "+${t}") transformers 101 + 102 + , # Contents of the UserSettings.hs file to use when compiling hadrian. 103 + hadrianUserSettings ? '' 104 + module UserSettings ( 105 + userFlavours, userPackages, userDefaultFlavour, 106 + verboseCommand, buildProgressColour, successColour, finalStage 107 + ) where 108 + 109 + import Flavour.Type 110 + import Expression 111 + import {-# SOURCE #-} Settings.Default 112 + 113 + -- no way to set this via the command line 114 + finalStage :: Stage 115 + finalStage = ${ 116 + if stdenv.hostPlatform == stdenv.targetPlatform 117 + then "Stage2" # native compiler 118 + else "Stage1" # cross compiler 119 + } 120 + 121 + userDefaultFlavour :: String 122 + userDefaultFlavour = "release" 123 + 124 + userFlavours :: [Flavour] 125 + userFlavours = [] 126 + 127 + -- Disable Colours 128 + buildProgressColour :: BuildProgressColour 129 + buildProgressColour = mkBuildProgressColour (Dull Reset) 130 + successColour :: SuccessColour 131 + successColour = mkSuccessColour (Dull Reset) 132 + 133 + -- taken from src/UserSettings.hs unchanged, need to be there 134 + userPackages :: [Package] 135 + userPackages = [] 136 + verboseCommand :: Predicate 137 + verboseCommand = do 138 + verbosity <- expr getVerbosity 139 + return $ verbosity >= Verbose 140 + '' 141 + 142 + , # Whether to build sphinx documentation. 143 + enableDocs ? ( 144 + # Docs disabled for musl and cross because it's a large task to keep 145 + # all `sphinx` dependencies building in those environments. 146 + # `sphinx` pulls in among others: 147 + # Ruby, Python, Perl, Rust, OpenGL, Xorg, gtk, LLVM. 148 + (stdenv.targetPlatform == stdenv.hostPlatform) 149 + && !stdenv.hostPlatform.isMusl 150 + ) 151 + 152 + , # Whether to disable the large address space allocator 153 + # necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/ 154 + disableLargeAddressSpace ? stdenv.targetPlatform.isiOS 155 + }: 156 + 157 + assert !enableNativeBignum -> gmp != null; 158 + 159 + assert stdenv.hostPlatform == stdenv.targetPlatform || throw '' 160 + hadrian doesn't support building an installable GHC cross-compiler at the moment. 161 + Consider using GHC 9.4.2 or lower which support this via the make build system. 162 + See also: https://gitlab.haskell.org/ghc/ghc/-/issues/22090 163 + ''; 164 + 165 + let 166 + src = (if rev != null then fetchgit else fetchurl) ({ 167 + inherit url sha256; 168 + } // lib.optionalAttrs (rev != null) { 169 + inherit rev; 170 + }); 171 + 172 + inherit (stdenv) buildPlatform hostPlatform targetPlatform; 173 + 174 + inherit (bootPkgs) ghc; 175 + 176 + # TODO(@Ericson2314) Make unconditional 177 + targetPrefix = lib.optionalString 178 + (targetPlatform != hostPlatform) 179 + "${targetPlatform.config}-"; 180 + 181 + hadrianSettings = 182 + # -fexternal-dynamic-refs apparently (because it's not clear from the 183 + # documentation) makes the GHC RTS able to load static libraries, which may 184 + # be needed for TemplateHaskell. This solution was described in 185 + # https://www.tweag.io/blog/2020-09-30-bazel-static-haskell 186 + lib.optionals enableRelocatedStaticLibs [ 187 + "*.*.rts.*.opts += -fPIC -fexternal-dynamic-refs" 188 + "*.*.ghc.*.opts += -fPIC -fexternal-dynamic-refs" 189 + ] 190 + ++ lib.optionals targetPlatform.useAndroidPrebuilt [ 191 + "*.*.ghc.c.opts += -optc-std=gnu99" 192 + ]; 193 + 194 + # GHC's build system hadrian built from the GHC-to-build's source tree 195 + # using our bootstrap GHC. 196 + hadrian = bootPkgs.callPackage ../../tools/haskell/hadrian { 197 + ghcSrc = src; 198 + ghcVersion = version; 199 + userSettings = hadrianUserSettings; 200 + }; 201 + 202 + # Splicer will pull out correct variations 203 + libDeps = platform: lib.optional enableTerminfo ncurses 204 + ++ [libffi] 205 + # Bindist configure script fails w/o elfutils in linker search path 206 + # https://gitlab.haskell.org/ghc/ghc/-/issues/22081 207 + ++ lib.optional enableDwarf elfutils 208 + ++ lib.optional (!enableNativeBignum) gmp 209 + ++ lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv; 210 + 211 + # TODO(@sternenseemann): is buildTarget LLVM unnecessary? 212 + # GHC doesn't seem to have {LLC,OPT}_HOST 213 + toolsForTarget = [ 214 + pkgsBuildTarget.targetPackages.stdenv.cc 215 + ] ++ lib.optional useLLVM buildTargetLlvmPackages.llvm; 216 + 217 + targetCC = builtins.head toolsForTarget; 218 + 219 + # Sometimes we have to dispatch between the bintools wrapper and the unwrapped 220 + # derivation for certain tools depending on the platform. 221 + bintoolsFor = { 222 + # GHC needs install_name_tool on all darwin platforms. On aarch64-darwin it is 223 + # part of the bintools wrapper (due to codesigning requirements), but not on 224 + # x86_64-darwin. 225 + install_name_tool = 226 + if stdenv.targetPlatform.isAarch64 227 + then targetCC.bintools 228 + else targetCC.bintools.bintools; 229 + # Same goes for strip. 230 + strip = 231 + # TODO(@sternenseemann): also use wrapper if linker == "bfd" or "gold" 232 + if stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin 233 + then targetCC.bintools 234 + else targetCC.bintools.bintools; 235 + }; 236 + 237 + # Use gold either following the default, or to avoid the BFD linker due to some bugs / perf issues. 238 + # But we cannot avoid BFD when using musl libc due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856 239 + # see #84670 and #49071 for more background. 240 + useLdGold = targetPlatform.linker == "gold" || 241 + (targetPlatform.linker == "bfd" && (targetCC.bintools.bintools.hasGold or false) && !targetPlatform.isMusl); 242 + 243 + # Makes debugging easier to see which variant is at play in `nix-store -q --tree`. 244 + variantSuffix = lib.concatStrings [ 245 + (lib.optionalString stdenv.hostPlatform.isMusl "-musl") 246 + (lib.optionalString enableNativeBignum "-native-bignum") 247 + ]; 248 + 249 + in 250 + 251 + # C compiler, bintools and LLVM are used at build time, but will also leak into 252 + # the resulting GHC's settings file and used at runtime. This means that we are 253 + # currently only able to build GHC if hostPlatform == buildPlatform. 254 + assert targetCC == pkgsHostTarget.targetPackages.stdenv.cc; 255 + assert buildTargetLlvmPackages.llvm == llvmPackages.llvm; 256 + assert stdenv.targetPlatform.isDarwin -> buildTargetLlvmPackages.clang == llvmPackages.clang; 257 + 258 + stdenv.mkDerivation ({ 259 + pname = "${targetPrefix}ghc${variantSuffix}"; 260 + inherit version; 261 + 262 + inherit src; 263 + 264 + enableParallelBuilding = true; 265 + 266 + postPatch = '' 267 + patchShebangs --build . 268 + ''; 269 + 270 + # GHC needs the locale configured during the Haddock phase. 271 + LANG = "en_US.UTF-8"; 272 + 273 + # GHC is a bit confused on its cross terminology. 274 + # TODO(@sternenseemann): investigate coreutils dependencies and pass absolute paths 275 + preConfigure = '' 276 + for env in $(env | grep '^TARGET_' | sed -E 's|\+?=.*||'); do 277 + export "''${env#TARGET_}=''${!env}" 278 + done 279 + # GHC is a bit confused on its cross terminology, as these would normally be 280 + # the *host* tools. 281 + export CC="${targetCC}/bin/${targetCC.targetPrefix}cc" 282 + export CXX="${targetCC}/bin/${targetCC.targetPrefix}c++" 283 + # Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177 284 + export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${lib.optionalString useLdGold ".gold"}" 285 + export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as" 286 + export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar" 287 + export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm" 288 + export RANLIB="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ranlib" 289 + export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf" 290 + export STRIP="${bintoolsFor.strip}/bin/${bintoolsFor.strip.targetPrefix}strip" 291 + '' + lib.optionalString (stdenv.targetPlatform.linker == "cctools") '' 292 + export OTOOL="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}otool" 293 + export INSTALL_NAME_TOOL="${bintoolsFor.install_name_tool}/bin/${bintoolsFor.install_name_tool.targetPrefix}install_name_tool" 294 + '' + lib.optionalString useLLVM '' 295 + export LLC="${lib.getBin buildTargetLlvmPackages.llvm}/bin/llc" 296 + export OPT="${lib.getBin buildTargetLlvmPackages.llvm}/bin/opt" 297 + '' + lib.optionalString (useLLVM && stdenv.targetPlatform.isDarwin) '' 298 + # LLVM backend on Darwin needs clang: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/codegens.html#llvm-code-generator-fllvm 299 + export CLANG="${buildTargetLlvmPackages.clang}/bin/${buildTargetLlvmPackages.clang.targetPrefix}clang" 300 + '' + 301 + lib.optionalString (stdenv.isLinux && hostPlatform.libc == "glibc") '' 302 + export LOCALE_ARCHIVE="${glibcLocales}/lib/locale/locale-archive" 303 + '' + lib.optionalString (!stdenv.isDarwin) '' 304 + export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}" 305 + '' + lib.optionalString stdenv.isDarwin '' 306 + export NIX_LDFLAGS+=" -no_dtrace_dof" 307 + 308 + # GHC tries the host xattr /usr/bin/xattr by default which fails since it expects python to be 2.7 309 + export XATTR=${lib.getBin xattr}/bin/xattr 310 + '' 311 + # If we are not using release tarballs, some files need to be generated using 312 + # the boot script. 313 + + lib.optionalString (rev != null) '' 314 + echo ${version} > VERSION 315 + echo ${rev} > GIT_COMMIT_ID 316 + ./boot 317 + '' 318 + + lib.optionalString targetPlatform.useAndroidPrebuilt '' 319 + sed -i -e '5i ,("armv7a-unknown-linux-androideabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "cortex-a8", ""))' llvm-targets 320 + '' + lib.optionalString targetPlatform.isMusl '' 321 + echo "patching llvm-targets for musl targets..." 322 + echo "Cloning these existing '*-linux-gnu*' targets:" 323 + grep linux-gnu llvm-targets | sed 's/^/ /' 324 + echo "(go go gadget sed)" 325 + sed -i 's,\(^.*linux-\)gnu\(.*\)$,\0\n\1musl\2,' llvm-targets 326 + echo "llvm-targets now contains these '*-linux-musl*' targets:" 327 + grep linux-musl llvm-targets | sed 's/^/ /' 328 + 329 + echo "And now patching to preserve '-musleabi' as done with '-gnueabi'" 330 + # (aclocal.m4 is actual source, but patch configure as well since we don't re-gen) 331 + for x in configure aclocal.m4; do 332 + substituteInPlace $x \ 333 + --replace '*-android*|*-gnueabi*)' \ 334 + '*-android*|*-gnueabi*|*-musleabi*)' 335 + done 336 + '' 337 + # Create bash array hadrianFlagsArray for use in buildPhase. Do it in 338 + # preConfigure, so overrideAttrs can be used to modify it effectively. 339 + # hadrianSettings are passed via the command line so they are more visible 340 + # in the build log. 341 + + '' 342 + hadrianFlagsArray=( 343 + "-j$NIX_BUILD_CORES" 344 + ${lib.escapeShellArgs hadrianSettings} 345 + ) 346 + ''; 347 + 348 + # TODO(@Ericson2314): Always pass "--target" and always prefix. 349 + configurePlatforms = [ "build" "host" ] 350 + ++ lib.optional (targetPlatform != hostPlatform) "target"; 351 + 352 + # `--with` flags for libraries needed for RTS linker 353 + configureFlags = [ 354 + "--datadir=$doc/share/doc/ghc" 355 + "--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib" 356 + ] ++ lib.optionals (libffi != null) [ 357 + "--with-system-libffi" 358 + "--with-ffi-includes=${targetPackages.libffi.dev}/include" 359 + "--with-ffi-libraries=${targetPackages.libffi.out}/lib" 360 + ] ++ lib.optionals (targetPlatform == hostPlatform && !enableNativeBignum) [ 361 + "--with-gmp-includes=${targetPackages.gmp.dev}/include" 362 + "--with-gmp-libraries=${targetPackages.gmp.out}/lib" 363 + ] ++ lib.optionals (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [ 364 + "--with-iconv-includes=${libiconv}/include" 365 + "--with-iconv-libraries=${libiconv}/lib" 366 + ] ++ lib.optionals (targetPlatform != hostPlatform) [ 367 + "--enable-bootstrap-with-devel-snapshot" 368 + ] ++ lib.optionals useLdGold [ 369 + "CFLAGS=-fuse-ld=gold" 370 + "CONF_GCC_LINKER_OPTS_STAGE1=-fuse-ld=gold" 371 + "CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold" 372 + ] ++ lib.optionals (disableLargeAddressSpace) [ 373 + "--disable-large-address-space" 374 + ] ++ lib.optionals enableDwarf [ 375 + "--enable-dwarf-unwind" 376 + "--with-libdw-includes=${lib.getDev elfutils}/include" 377 + "--with-libdw-libraries=${lib.getLib elfutils}/lib" 378 + ]; 379 + 380 + # Make sure we never relax`$PATH` and hooks support for compatibility. 381 + strictDeps = true; 382 + 383 + # Don’t add -liconv to LDFLAGS automatically so that GHC will add it itself. 384 + dontAddExtraLibs = true; 385 + 386 + nativeBuildInputs = [ 387 + perl ghc hadrian bootPkgs.alex bootPkgs.happy bootPkgs.hscolour 388 + ] ++ lib.optionals (rev != null) [ 389 + # We need to execute the boot script 390 + autoconf automake m4 python3 391 + ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ 392 + autoSignDarwinBinariesHook 393 + ] ++ lib.optionals enableDocs [ 394 + sphinx 395 + ]; 396 + 397 + # For building runtime libs 398 + depsBuildTarget = toolsForTarget; 399 + 400 + buildInputs = [ perl bash ] ++ (libDeps hostPlatform); 401 + 402 + depsTargetTarget = map lib.getDev (libDeps targetPlatform); 403 + depsTargetTargetPropagated = map (lib.getOutput "out") (libDeps targetPlatform); 404 + 405 + hadrianFlags = [ 406 + "--flavour=${ghcFlavour}" 407 + "--bignum=${if enableNativeBignum then "native" else "gmp"}" 408 + "--docs=${if enableDocs then "no-sphinx-pdfs" else "no-sphinx"}" 409 + ]; 410 + 411 + buildPhase = '' 412 + runHook preBuild 413 + 414 + # hadrianFlagsArray is created in preConfigure 415 + echo "hadrianFlags: $hadrianFlags ''${hadrianFlagsArray}" 416 + 417 + # We need to go via the bindist for installing 418 + hadrian $hadrianFlags "''${hadrianFlagsArray}" binary-dist-dir 419 + 420 + runHook postBuild 421 + ''; 422 + 423 + # required, because otherwise all symbols from HSffi.o are stripped, and 424 + # that in turn causes GHCi to abort 425 + stripDebugFlags = [ "-S" ] ++ lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols"; 426 + 427 + checkTarget = "test"; 428 + 429 + hardeningDisable = 430 + [ "format" ] 431 + # In nixpkgs, musl based builds currently enable `pie` hardening by default 432 + # (see `defaultHardeningFlags` in `make-derivation.nix`). 433 + # But GHC cannot currently produce outputs that are ready for `-pie` linking. 434 + # Thus, disable `pie` hardening, otherwise `recompile with -fPIE` errors appear. 435 + # See: 436 + # * https://github.com/NixOS/nixpkgs/issues/129247 437 + # * https://gitlab.haskell.org/ghc/ghc/-/issues/19580 438 + ++ lib.optional stdenv.targetPlatform.isMusl "pie"; 439 + 440 + # big-parallel allows us to build with more than 2 cores on 441 + # Hydra which already warrants a significant speedup 442 + requiredSystemFeatures = [ "big-parallel" ]; 443 + 444 + outputs = [ "out" "doc" ]; 445 + 446 + # We need to configure the bindist *again* before installing 447 + # https://gitlab.haskell.org/ghc/ghc/-/issues/22058 448 + # TODO(@sternenseemann): it would be nice if the bindist could be an intermediate 449 + # derivation, but since it is > 2GB even on x86_64-linux, not a good idea? 450 + preInstall = '' 451 + pushd _build/bindist/* 452 + 453 + ./configure $configureFlags "''${configureFlagsArray[@]}" 454 + ''; 455 + 456 + postInstall = '' 457 + # leave bindist directory 458 + popd 459 + 460 + # Install the bash completion file. 461 + install -Dm 644 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc 462 + ''; 463 + 464 + passthru = { 465 + inherit bootPkgs targetPrefix; 466 + 467 + inherit llvmPackages; 468 + inherit enableShared; 469 + 470 + # Our Cabal compiler name 471 + haskellCompilerName = "ghc-${version}"; 472 + 473 + # Expose hadrian used for bootstrapping, for debugging purposes 474 + inherit hadrian; 475 + }; 476 + 477 + meta = { 478 + homepage = "http://haskell.org/ghc"; 479 + description = "The Glasgow Haskell Compiler"; 480 + maintainers = with lib.maintainers; [ 481 + guibou 482 + ] ++ lib.teams.haskell.members; 483 + timeout = 24 * 3600; 484 + inherit (ghc.meta) license platforms; 485 + }; 486 + 487 + dontStrip = targetPlatform.useAndroidPrebuilt || targetPlatform.isWasm; 488 + } // lib.optionalAttrs targetPlatform.useAndroidPrebuilt { 489 + dontPatchELF = true; 490 + noAuditTmpdir = true; 491 + })
+5 -375
pkgs/development/compilers/ghc/head.nix
··· 1 - { lib, stdenv, pkgsBuildTarget, pkgsHostTarget, targetPackages 2 - 3 - # build-tools 4 - , bootPkgs 5 - , autoconf, autoreconfHook, automake, coreutils, fetchgit, perl, python3, m4, sphinx 6 - , xattr, autoSignDarwinBinariesHook 7 - , bash 8 - 9 - , libiconv ? null, ncurses 10 - 11 - , # GHC can be built with system libffi or a bundled one. 12 - libffi ? null 13 - 14 - # Libdw.c only supports x86_64, i686 and s390x 15 - , enableDwarf ? (stdenv.targetPlatform.isx86 || 16 - (stdenv.targetPlatform.isS390 && stdenv.targetPlatform.is64bit)) && 17 - lib.meta.availableOn stdenv.hostPlatform elfutils && 18 - lib.meta.availableOn stdenv.targetPlatform elfutils 19 - , elfutils # for DWARF support 20 - 21 - , useLLVM ? !(stdenv.targetPlatform.isx86 22 - || stdenv.targetPlatform.isPower 23 - || stdenv.targetPlatform.isSparc 24 - || (stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin)) 25 - , # LLVM is conceptually a run-time-only depedendency, but for 26 - # non-x86, we need LLVM to bootstrap later stages, so it becomes a 27 - # build-time dependency too. 28 - buildTargetLlvmPackages, llvmPackages 29 - 30 - , # If enabled, GHC will be built with the GPL-free but slightly slower native 31 - # bignum backend instead of the faster but GPLed gmp backend. 32 - enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp) 33 - , gmp 34 - 35 - , # If enabled, use -fPIC when compiling static libs. 36 - enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform 37 - 38 - # aarch64 outputs otherwise exceed 2GB limit 39 - , enableProfiledLibs ? !stdenv.targetPlatform.isAarch64 40 - 41 - , # Whether to build dynamic libs for the standard library (on the target 42 - # platform). Static libs are always built. 43 - enableShared ? !stdenv.targetPlatform.isWindows && !stdenv.targetPlatform.useiOSPrebuilt 44 - 45 - , version ? "9.3.20220406" 46 - , # What flavour to build. An empty string indicates no 47 - # specific flavour and falls back to ghc default values. 48 - ghcFlavour ? lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform) 49 - (if useLLVM then "perf-cross" else "perf-cross-ncg") 50 - 51 - , # Whether to build sphinx documentation. 52 - enableDocs ? ( 53 - # Docs disabled for musl and cross because it's a large task to keep 54 - # all `sphinx` dependencies building in those environments. 55 - # `sphinx` pullls in among others: 56 - # Ruby, Python, Perl, Rust, OpenGL, Xorg, gtk, LLVM. 57 - (stdenv.targetPlatform == stdenv.hostPlatform) 58 - && !stdenv.hostPlatform.isMusl 59 - ) 60 - 61 - , enableHaddockProgram ? 62 - # Disabled for cross; see note [HADDOCK_DOCS]. 63 - (stdenv.targetPlatform == stdenv.hostPlatform) 64 - 65 - , # Whether to disable the large address space allocator 66 - # necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/ 67 - disableLargeAddressSpace ? stdenv.targetPlatform.isiOS 68 - }: 69 - 70 - assert !enableNativeBignum -> gmp != null; 71 - 72 - # Cross cannot currently build the `haddock` program for silly reasons, 73 - # see note [HADDOCK_DOCS]. 74 - assert (stdenv.targetPlatform != stdenv.hostPlatform) -> !enableHaddockProgram; 75 - 76 - let 77 - inherit (stdenv) buildPlatform hostPlatform targetPlatform; 78 - 79 - inherit (bootPkgs) ghc; 80 - 81 - # TODO(@Ericson2314) Make unconditional 82 - targetPrefix = lib.optionalString 83 - (targetPlatform != hostPlatform) 84 - "${targetPlatform.config}-"; 85 - 86 - buildMK = dontStrip: '' 87 - BuildFlavour = ${ghcFlavour} 88 - ifneq \"\$(BuildFlavour)\" \"\" 89 - include mk/flavours/\$(BuildFlavour).mk 90 - endif 91 - BUILD_SPHINX_HTML = ${if enableDocs then "YES" else "NO"} 92 - BUILD_SPHINX_PDF = NO 93 - '' + 94 - # Note [HADDOCK_DOCS]: 95 - # Unfortunately currently `HADDOCK_DOCS` controls both whether the `haddock` 96 - # program is built (which we generally always want to have a complete GHC install) 97 - # and whether it is run on the GHC sources to generate hyperlinked source code 98 - # (which is impossible for cross-compilation); see: 99 - # https://gitlab.haskell.org/ghc/ghc/-/issues/20077 100 - # This implies that currently a cross-compiled GHC will never have a `haddock` 101 - # program, so it can never generate haddocks for any packages. 102 - # If this is solved in the future, we'd like to unconditionally 103 - # build the haddock program (removing the `enableHaddockProgram` option). 104 - '' 105 - HADDOCK_DOCS = ${if enableHaddockProgram then "YES" else "NO"} 106 - DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"} 107 - BIGNUM_BACKEND = ${if enableNativeBignum then "native" else "gmp"} 108 - '' + lib.optionalString (targetPlatform != hostPlatform) '' 109 - Stage1Only = ${if (targetPlatform.system == hostPlatform.system && !targetPlatform.isiOS) then "NO" else "YES"} 110 - CrossCompilePrefix = ${targetPrefix} 111 - '' + lib.optionalString dontStrip '' 112 - STRIP_CMD = : 113 - '' + lib.optionalString (!enableProfiledLibs) '' 114 - GhcLibWays = "v dyn" 115 - '' + lib.optionalString enableRelocatedStaticLibs '' 116 - GhcLibHcOpts += -fPIC 117 - GhcRtsHcOpts += -fPIC 118 - '' + lib.optionalString targetPlatform.useAndroidPrebuilt '' 119 - EXTRA_CC_OPTS += -std=gnu99 120 - '' 121 - # While split sections are now enabled by default in ghc 8.8 for windows, 122 - # they seem to lead to `too many sections` errors when building base for 123 - # profiling. 124 - + lib.optionalString targetPlatform.isWindows '' 125 - SplitSections = NO 126 - ''; 127 - 128 - # Splicer will pull out correct variations 129 - libDeps = platform: 130 - [libffi ncurses] 131 - ++ lib.optional (!enableNativeBignum) gmp 132 - ++ lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv 133 - ++ lib.optional enableDwarf elfutils; 134 - 135 - # TODO(@sternenseemann): is buildTarget LLVM unnecessary? 136 - # GHC doesn't seem to have {LLC,OPT}_HOST 137 - toolsForTarget = [ 138 - pkgsBuildTarget.targetPackages.stdenv.cc 139 - ] ++ lib.optional useLLVM buildTargetLlvmPackages.llvm; 140 - 141 - targetCC = builtins.head toolsForTarget; 142 - 143 - # Sometimes we have to dispatch between the bintools wrapper and the unwrapped 144 - # derivation for certain tools depending on the platform. 145 - bintoolsFor = { 146 - # GHC needs install_name_tool on all darwin platforms. On aarch64-darwin it is 147 - # part of the bintools wrapper (due to codesigning requirements), but not on 148 - # x86_64-darwin. 149 - install_name_tool = 150 - if stdenv.targetPlatform.isAarch64 151 - then targetCC.bintools 152 - else targetCC.bintools.bintools; 153 - # Same goes for strip. 154 - strip = 155 - # TODO(@sternenseemann): also use wrapper if linker == "bfd" or "gold" 156 - if stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin 157 - then targetCC.bintools 158 - else targetCC.bintools.bintools; 159 - }; 160 - 161 - # Use gold either following the default, or to avoid the BFD linker due to some bugs / perf issues. 162 - # But we cannot avoid BFD when using musl libc due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856 163 - # see #84670 and #49071 for more background. 164 - useLdGold = targetPlatform.linker == "gold" || 165 - (targetPlatform.linker == "bfd" && (targetCC.bintools.bintools.hasGold or false) && !targetPlatform.isMusl); 166 - 167 - # Makes debugging easier to see which variant is at play in `nix-store -q --tree`. 168 - variantSuffix = lib.concatStrings [ 169 - (lib.optionalString stdenv.hostPlatform.isMusl "-musl") 170 - (lib.optionalString enableNativeBignum "-native-bignum") 171 - ]; 172 - 173 - in 174 - 175 - # C compiler, bintools and LLVM are used at build time, but will also leak into 176 - # the resulting GHC's settings file and used at runtime. This means that we are 177 - # currently only able to build GHC if hostPlatform == buildPlatform. 178 - assert targetCC == pkgsHostTarget.targetPackages.stdenv.cc; 179 - assert buildTargetLlvmPackages.llvm == llvmPackages.llvm; 180 - assert stdenv.targetPlatform.isDarwin -> buildTargetLlvmPackages.clang == llvmPackages.clang; 181 - 182 - stdenv.mkDerivation (rec { 183 - inherit version; 184 - inherit (src) rev; 185 - pname = "${targetPrefix}ghc${variantSuffix}"; 186 - 187 - src = fetchgit { 188 - url = "https://gitlab.haskell.org/ghc/ghc.git/"; 189 - rev = "c44432db254d2fc960d7864e080cb50e65dfa7c6"; 190 - sha256 = "0xagijcfcw3a19s6dmh6z7085lvkrakys3lcby4ncq1v0syh507h"; 191 - }; 192 - 193 - enableParallelBuilding = true; 194 - 195 - outputs = [ "out" "doc" ]; 196 - 197 - postPatch = "patchShebangs ."; 198 - 199 - # GHC is a bit confused on its cross terminology. 200 - # TODO(@sternenseemann): investigate coreutils dependencies and pass absolute paths 201 - preConfigure = '' 202 - for env in $(env | grep '^TARGET_' | sed -E 's|\+?=.*||'); do 203 - export "''${env#TARGET_}=''${!env}" 204 - done 205 - # GHC is a bit confused on its cross terminology, as these would normally be 206 - # the *host* tools. 207 - export CC="${targetCC}/bin/${targetCC.targetPrefix}cc" 208 - export CXX="${targetCC}/bin/${targetCC.targetPrefix}c++" 209 - # Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177 210 - # and more generally have a faster linker. 211 - export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${lib.optionalString useLdGold ".gold"}" 212 - export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as" 213 - export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar" 214 - export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm" 215 - export RANLIB="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ranlib" 216 - export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf" 217 - export STRIP="${bintoolsFor.strip}/bin/${bintoolsFor.strip.targetPrefix}strip" 218 - '' + lib.optionalString (stdenv.targetPlatform.linker == "cctools") '' 219 - export OTOOL="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}otool" 220 - export INSTALL_NAME_TOOL="${bintoolsFor.install_name_tool}/bin/${bintoolsFor.install_name_tool.targetPrefix}install_name_tool" 221 - '' + lib.optionalString useLLVM '' 222 - export LLC="${lib.getBin buildTargetLlvmPackages.llvm}/bin/llc" 223 - export OPT="${lib.getBin buildTargetLlvmPackages.llvm}/bin/opt" 224 - '' + lib.optionalString (useLLVM && stdenv.targetPlatform.isDarwin) '' 225 - # LLVM backend on Darwin needs clang: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/codegens.html#llvm-code-generator-fllvm 226 - export CLANG="${buildTargetLlvmPackages.clang}/bin/${buildTargetLlvmPackages.clang.targetPrefix}clang" 227 - '' + '' 228 - 229 - # otherwise haddock fails when generating the compiler docs 230 - export LANG=C.UTF-8 231 - 232 - echo -n "${buildMK dontStrip}" > mk/build.mk 233 - echo ${version} > VERSION 234 - echo ${src.rev} > GIT_COMMIT_ID 235 - ./boot 236 - sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure 237 - '' + lib.optionalString (!stdenv.isDarwin) '' 238 - export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}" 239 - '' + lib.optionalString stdenv.isDarwin '' 240 - export NIX_LDFLAGS+=" -no_dtrace_dof" 241 - 242 - # GHC tries the host xattr /usr/bin/xattr by default which fails since it expects python to be 2.7 243 - export XATTR=${lib.getBin xattr}/bin/xattr 244 - '' + lib.optionalString targetPlatform.useAndroidPrebuilt '' 245 - sed -i -e '5i ,("armv7a-unknown-linux-androideabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "cortex-a8", ""))' llvm-targets 246 - '' + lib.optionalString targetPlatform.isMusl '' 247 - echo "patching llvm-targets for musl targets..." 248 - echo "Cloning these existing '*-linux-gnu*' targets:" 249 - grep linux-gnu llvm-targets | sed 's/^/ /' 250 - echo "(go go gadget sed)" 251 - sed -i 's,\(^.*linux-\)gnu\(.*\)$,\0\n\1musl\2,' llvm-targets 252 - echo "llvm-targets now contains these '*-linux-musl*' targets:" 253 - grep linux-musl llvm-targets | sed 's/^/ /' 254 - 255 - echo "And now patching to preserve '-musleabi' as done with '-gnueabi'" 256 - # (aclocal.m4 is actual source, but patch configure as well since we don't re-gen) 257 - for x in configure aclocal.m4; do 258 - substituteInPlace $x \ 259 - --replace '*-android*|*-gnueabi*)' \ 260 - '*-android*|*-gnueabi*|*-musleabi*)' 261 - done 262 - ''; 263 - 264 - # TODO(@Ericson2314): Always pass "--target" and always prefix. 265 - configurePlatforms = [ "build" "host" ] 266 - ++ lib.optional (targetPlatform != hostPlatform) "target"; 267 - 268 - # `--with` flags for libraries needed for RTS linker 269 - configureFlags = [ 270 - "--datadir=$doc/share/doc/ghc" 271 - "--with-curses-libraries=${ncurses.out}/lib" 272 - ] ++ lib.optionals (libffi != null) [ 273 - "--with-system-libffi" 274 - "--with-ffi-includes=${targetPackages.libffi.dev}/include" 275 - "--with-ffi-libraries=${targetPackages.libffi.out}/lib" 276 - ] ++ lib.optionals (targetPlatform == hostPlatform && !enableNativeBignum) [ 277 - "--with-gmp-includes=${targetPackages.gmp.dev}/include" 278 - "--with-gmp-libraries=${targetPackages.gmp.out}/lib" 279 - ] ++ lib.optionals (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [ 280 - "--with-iconv-includes=${libiconv}/include" 281 - "--with-iconv-libraries=${libiconv}/lib" 282 - ] ++ lib.optionals (targetPlatform != hostPlatform) [ 283 - "--enable-bootstrap-with-devel-snapshot" 284 - ] ++ lib.optionals useLdGold [ 285 - "CFLAGS=-fuse-ld=gold" 286 - "CONF_GCC_LINKER_OPTS_STAGE1=-fuse-ld=gold" 287 - "CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold" 288 - ] ++ lib.optional disableLargeAddressSpace "--disable-large-address-space" 289 - ++ lib.optionals enableDwarf [ 290 - "--enable-dwarf-unwind" 291 - "--with-libdw-includes=${lib.getDev elfutils}/include" 292 - "--with-libdw-libraries=${lib.getLib elfutils}/lib" 293 - ]; 294 - 295 - # Make sure we never relax`$PATH` and hooks support for compatibility. 296 - strictDeps = true; 297 - 298 - # Don’t add -liconv to LDFLAGS automatically so that GHC will add it itself. 299 - dontAddExtraLibs = true; 300 - 301 - nativeBuildInputs = [ 302 - perl autoconf autoreconfHook automake m4 python3 303 - ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour 304 - ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ 305 - autoSignDarwinBinariesHook 306 - ] ++ lib.optionals enableDocs [ 307 - sphinx 308 - ]; 309 - 310 - # For building runtime libs 311 - depsBuildTarget = toolsForTarget; 312 - 313 - buildInputs = [ perl bash ] ++ (libDeps hostPlatform); 314 - 315 - depsTargetTarget = map lib.getDev (libDeps targetPlatform); 316 - depsTargetTargetPropagated = map (lib.getOutput "out") (libDeps targetPlatform); 317 - 318 - # required, because otherwise all symbols from HSffi.o are stripped, and 319 - # that in turn causes GHCi to abort 320 - stripDebugFlags = [ "-S" ] ++ lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols"; 321 - 322 - checkTarget = "test"; 323 - 324 - hardeningDisable = 325 - [ "format" ] 326 - # In nixpkgs, musl based builds currently enable `pie` hardening by default 327 - # (see `defaultHardeningFlags` in `make-derivation.nix`). 328 - # But GHC cannot currently produce outputs that are ready for `-pie` linking. 329 - # Thus, disable `pie` hardening, otherwise `recompile with -fPIE` errors appear. 330 - # See: 331 - # * https://github.com/NixOS/nixpkgs/issues/129247 332 - # * https://gitlab.haskell.org/ghc/ghc/-/issues/19580 333 - ++ lib.optional stdenv.targetPlatform.isMusl "pie"; 334 - 335 - # big-parallel allows us to build with more than 2 cores on 336 - # Hydra which already warrants a significant speedup 337 - requiredSystemFeatures = [ "big-parallel" ]; 338 - 339 - postInstall = '' 340 - # Install the bash completion file. 341 - install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc 342 - ''; 343 - 344 - passthru = { 345 - inherit bootPkgs targetPrefix; 346 - 347 - inherit llvmPackages; 348 - inherit enableShared; 349 - 350 - # This is used by the haskell builder to query 351 - # the presence of the haddock program. 352 - hasHaddock = enableHaddockProgram; 353 - 354 - # Our Cabal compiler name 355 - haskellCompilerName = "ghc-${version}"; 356 - }; 357 - 358 - meta = { 359 - homepage = "http://haskell.org/ghc"; 360 - description = "The Glasgow Haskell Compiler"; 361 - maintainers = with lib.maintainers; [ 362 - guibou 363 - ] ++ lib.teams.haskell.members; 364 - timeout = 24 * 3600; 365 - inherit (ghc.meta) license platforms; 366 - # ghcHEAD times out on aarch64-linux on Hydra. 367 - hydraPlatforms = builtins.filter (p: p != "aarch64-linux") ghc.meta.platforms; 368 - }; 369 - 370 - dontStrip = (targetPlatform.useAndroidPrebuilt || targetPlatform.isWasm); 371 - 372 - } // lib.optionalAttrs targetPlatform.useAndroidPrebuilt{ 373 - dontPatchELF = true; 374 - noAuditTmpdir = true; 375 - }) 1 + import ./common-hadrian.nix { 2 + version = "9.5.20220921"; 3 + rev = "2463df2fe21b5b37ecada3df8c6726c534d24590"; 4 + sha256 = "1k2h4myqbs31fdzw5n4iw0qn44mp7d33kjwrr15ix4r54r8yskzs"; 5 + }
+4 -8
pkgs/development/haskell-modules/configuration-common.nix
··· 2388 2388 # The shipped Setup.hs file is broken. 2389 2389 csv = overrideCabal (drv: { preCompileBuildDriver = "rm Setup.hs"; }) super.csv; 2390 2390 2391 - # 2022-02-25: Upstream fixes are not released. Remove this override on update. 2392 - cabal-fmt = assert super.cabal-fmt.version == "0.1.5.1"; lib.pipe super.cabal-fmt [ 2393 - doJailbreak 2394 - (appendPatch (fetchpatch { 2395 - url = "https://github.com/phadej/cabal-fmt/commit/842630f70adb5397245109f77dba07662836e964.patch"; 2396 - sha256 = "sha256-s0W/TI3wHA73MFyKKcNBJFHgFAmBDLGbLaIvWbe/Bsg="; 2397 - })) 2398 - ]; 2391 + cabal-fmt = doJailbreak (super.cabal-fmt.override { 2392 + # Needs newer Cabal-syntex version. 2393 + Cabal-syntax = self.Cabal-syntax_3_8_1_0; 2394 + }); 2399 2395 2400 2396 # Tests require ghc-9.2. 2401 2397 ema = dontCheck super.ema;
+6
pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
··· 2212 2212 - himg 2213 2213 - hindley-milner 2214 2214 - hindley-milner-type-check 2215 + - hinotify-conduit 2215 2216 - hinquire 2216 2217 - hinstaller 2217 2218 - hinter ··· 2604 2605 - ige 2605 2606 - ignore 2606 2607 - igraph 2608 + - ihaskell-charts 2609 + - ihaskell-diagrams 2610 + - ihaskell-gnuplot 2607 2611 - ihaskell-parsec 2612 + - ihaskell-plot 2608 2613 - ihaskell-widgets 2609 2614 - ihp-hsx 2610 2615 - illuminate ··· 5187 5192 - to-haskell 5188 5193 - token-bucket 5189 5194 - tokenify 5195 + - tokenizer 5190 5196 - tokenizer-streaming 5191 5197 - token-limiter 5192 5198 - token-search
+1
pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml
··· 159 159 - fourmolu == 0.3.0.0 # 2022-09-21: needed for hls on ghc 8.8 160 160 - ormolu == 0.1.4.1 # 2022-09-21: needed for hls on ghc 8.8 161 161 - hlint == 3.2.8 # 2022-09-21: needed for hls on ghc 8.8 162 + - hlint == 3.4.1 # 2022-09-21: needed for hls with ghc-lib-parser 9.2 162 163 163 164 package-maintainers: 164 165 abbradar:
+19 -19
pkgs/development/haskell-modules/configuration-hackage2nix/stackage.yaml
··· 1 - # Stackage LTS 19.23 1 + # Stackage LTS 19.24 2 2 # This file is auto-generated by 3 3 # maintainers/scripts/haskell/update-stackage.sh 4 4 default-package-overrides: ··· 161 161 - bencoding ==0.4.5.4 162 162 - between ==0.11.0.0 163 163 - bibtex ==0.1.0.6 164 - - bifunctors ==5.5.12 164 + - bifunctors ==5.5.13 165 165 - bimap ==0.4.0 166 166 - bimaps ==0.1.0.2 167 167 - bimap-server ==0.1.0.1 ··· 695 695 - event-list ==0.1.2 696 696 - eventstore ==1.4.2 697 697 - every ==0.0.1 698 - - evm-opcodes ==0.1.1 698 + - evm-opcodes ==0.1.2 699 699 - exact-combinatorics ==0.2.0.11 700 700 - exact-pi ==0.5.0.2 701 701 - exception-hierarchy ==0.1.0.6 ··· 880 880 - ghc-lib ==9.0.2.20211226 881 881 - ghc-lib-parser ==9.0.2.20211226 882 882 - ghc-lib-parser-ex ==9.0.0.6 883 - - ghc-parser ==0.2.3.0 883 + - ghc-parser ==0.2.4.0 884 884 - ghc-paths ==0.1.0.12 885 885 - ghc-prof ==1.4.1.11 886 886 - ghc-source-gen ==0.4.3.0 ··· 961 961 - grouped-list ==0.2.3.0 962 962 - groups ==0.5.3 963 963 - gtk2hs-buildtools ==0.13.8.3 964 - - gtk-sni-tray ==0.1.8.0 965 - - gtk-strut ==0.1.3.1 964 + - gtk-sni-tray ==0.1.8.1 965 + - gtk-strut ==0.1.3.2 966 966 - guarded-allocation ==0.0.1 967 967 - hackage-cli ==0.0.3.6 968 968 - hackage-db ==2.1.2 ··· 1000 1000 - haskell-src ==1.0.4 1001 1001 - haskell-src-exts ==1.23.1 1002 1002 - haskell-src-exts-util ==0.2.5 1003 - - haskell-src-meta ==0.8.10 1003 + - haskell-src-meta ==0.8.11 1004 1004 - haskey-btree ==0.3.0.1 1005 1005 - haskintex ==0.8.0.1 1006 1006 - haskoin-core ==0.21.2 ··· 1016 1016 - has-transformers ==0.1.0.4 1017 1017 - hasty-hamiltonian ==1.3.4 1018 1018 - HaTeX ==3.22.3.1 1019 - - HaXml ==1.25.9 1019 + - HaXml ==1.25.11 1020 1020 - haxr ==3000.11.4.1 1021 1021 - HCodecs ==0.5.2 1022 1022 - hdaemonize ==0.5.6 ··· 1247 1247 - ieee754 ==0.8.0 1248 1248 - if ==0.1.0.0 1249 1249 - iff ==0.0.6 1250 - - ihaskell ==0.10.2.2 1250 + - ihaskell ==0.10.3.0 1251 1251 - ihaskell-hvega ==0.5.0.3 1252 1252 - ihs ==0.1.0.3 1253 1253 - ilist ==0.4.0.1 ··· 1303 1303 - iproute ==1.7.12 1304 1304 - IPv6Addr ==2.0.5 1305 1305 - ipynb ==0.2 1306 - - ipython-kernel ==0.10.2.2 1306 + - ipython-kernel ==0.10.3.0 1307 1307 - irc ==0.6.1.0 1308 1308 - irc-client ==1.1.2.2 1309 1309 - irc-conduit ==0.3.0.5 ··· 1874 1874 - postgresql-binary ==0.12.5 1875 1875 - postgresql-libpq ==0.9.4.3 1876 1876 - postgresql-libpq-notify ==0.2.0.0 1877 - - postgresql-migration ==0.2.1.3 1877 + - postgresql-migration ==0.2.1.4 1878 1878 - postgresql-orm ==0.5.1 1879 1879 - postgresql-query ==3.9.0 1880 1880 - postgresql-schema ==0.1.14 ··· 1910 1910 - PrimitiveArray ==0.10.1.1 1911 1911 - primitive-extras ==0.10.1.5 1912 1912 - primitive-offset ==0.2.0.0 1913 - - primitive-unaligned ==0.1.1.1 1913 + - primitive-unaligned ==0.1.1.2 1914 1914 - primitive-unlifted ==0.1.3.1 1915 1915 - prim-uniq ==0.2 1916 1916 - print-console-colors ==0.1.0.0 ··· 1934 1934 - protocol-buffers-descriptor ==2.4.17 1935 1935 - protocol-radius ==0.0.1.1 1936 1936 - protocol-radius-test ==0.1.0.1 1937 - - proto-lens ==0.7.1.1 1937 + - proto-lens ==0.7.1.2 1938 1938 - proto-lens-arbitrary ==0.1.2.11 1939 1939 - proto-lens-optparse ==0.1.1.9 1940 1940 - proto-lens-protobuf-types ==0.7.1.2 1941 1941 - proto-lens-protoc ==0.7.1.1 1942 - - proto-lens-runtime ==0.7.0.2 1942 + - proto-lens-runtime ==0.7.0.3 1943 1943 - proto-lens-setup ==0.4.0.6 1944 1944 - protolude ==0.3.2 1945 1945 - proxied ==0.3.1 ··· 2205 2205 - sexp-grammar ==2.3.3.1 2206 2206 - sexpr-parser ==0.2.2.0 2207 2207 - SHA ==1.6.4.4 2208 - - shake ==0.19.6 2208 + - shake ==0.19.7 2209 2209 - shake-language-c ==0.12.0 2210 2210 - shake-plus ==0.3.4.0 2211 2211 - shakespeare ==2.0.30 ··· 2381 2381 - svg-tree ==0.6.2.4 2382 2382 - swagger2 ==2.8.4 2383 2383 - swish ==0.10.2.0 2384 - - syb ==0.7.2.1 2384 + - syb ==0.7.2.2 2385 2385 - sydtest-discover ==0.0.0.2 2386 2386 - symbol ==0.2.4 2387 2387 - symengine ==0.1.2.0 ··· 2444 2444 - tdigest ==0.2.1.1 2445 2445 - teardown ==0.5.0.1 2446 2446 - telegram-bot-simple ==0.4.5 2447 - - template-haskell-compat-v0208 ==0.1.9 2447 + - template-haskell-compat-v0208 ==0.1.9.1 2448 2448 - temporary ==1.3 2449 2449 - temporary-rc ==1.2.0.3 2450 2450 - temporary-resourcet ==0.1.0.1 ··· 2483 2483 - text-zipper ==0.11 2484 2484 - tfp ==1.0.2 2485 2485 - tf-random ==0.5 2486 - - th-abstraction ==0.4.4.0 2486 + - th-abstraction ==0.4.5.0 2487 2487 - th-bang-compat ==0.0.1.0 2488 2488 - th-compat ==0.1.4 2489 2489 - th-constraint-compat ==0.0.1.0 ··· 2790 2790 - writer-cps-transformers ==0.5.6.1 2791 2791 - wss-client ==0.3.0.0 2792 2792 - wuss ==1.1.19 2793 - - X11 ==1.10.2 2793 + - X11 ==1.10.3 2794 2794 - X11-xft ==0.3.4 2795 2795 - x11-xim ==0.0.9.0 2796 2796 - x509 ==1.7.7
+274 -460
pkgs/development/haskell-modules/hackage-packages.nix
··· 10059 10059 }: 10060 10060 mkDerivation { 10061 10061 pname = "HaXml"; 10062 - version = "1.25.9"; 10063 - sha256 = "0ia27ffpdx59sa4mnyhks2bngrgaahwg150znnvnna30s9ncdfq1"; 10064 - revision = "1"; 10065 - editedCabalFile = "1p6v6ibkfbz4wklayzil9bmwsa0y5zcs9hzvl0qyjcnclpgalh7l"; 10066 - isLibrary = true; 10067 - isExecutable = true; 10068 - libraryHaskellDepends = [ 10069 - base bytestring containers filepath polyparse pretty random 10070 - ]; 10071 - executableHaskellDepends = [ base directory polyparse pretty ]; 10072 - description = "Utilities for manipulating XML documents"; 10073 - license = lib.licenses.lgpl21Only; 10074 - }) {}; 10075 - 10076 - "HaXml_1_25_11" = callPackage 10077 - ({ mkDerivation, base, bytestring, containers, directory, filepath 10078 - , polyparse, pretty, random 10079 - }: 10080 - mkDerivation { 10081 - pname = "HaXml"; 10082 10062 version = "1.25.11"; 10083 10063 sha256 = "1l5kmiqvnqzdzz3jyaphy7ckglm6jhn0b10kf47yizv0w496bmjg"; 10084 10064 isLibrary = true; ··· 10089 10069 executableHaskellDepends = [ base directory polyparse pretty ]; 10090 10070 description = "Utilities for manipulating XML documents"; 10091 10071 license = lib.licenses.lgpl21Only; 10092 - hydraPlatforms = lib.platforms.none; 10093 10072 }) {}; 10094 10073 10095 10074 "Hach" = callPackage ··· 25325 25304 license = lib.licenses.bsd3; 25326 25305 }) {}; 25327 25306 25328 - "aeson_2_1_0_0" = callPackage 25307 + "aeson_2_1_1_0" = callPackage 25329 25308 ({ mkDerivation, attoparsec, base, base-compat 25330 25309 , base-compat-batteries, base-orphans, base16-bytestring 25331 25310 , bytestring, containers, data-fix, deepseq, Diff, directory, dlist ··· 25338 25317 }: 25339 25318 mkDerivation { 25340 25319 pname = "aeson"; 25341 - version = "2.1.0.0"; 25342 - sha256 = "151wyyw0ip0f2w4mfxcs58c26rsvhaac7s0yba76gnhnzbskwxha"; 25343 - revision = "2"; 25344 - editedCabalFile = "0yp12cmkj5sz25kxzn6g1fz2d6acbq5rvff5dg2wg5zkjwfkhzqj"; 25320 + version = "2.1.1.0"; 25321 + sha256 = "1bdn4j2jglpxhy3kl3y5pf8dr032qjjfbl8ivjk591fdcy6rgbm3"; 25345 25322 libraryHaskellDepends = [ 25346 25323 attoparsec base base-compat-batteries bytestring containers 25347 25324 data-fix deepseq dlist generically ghc-prim hashable ··· 42415 42392 }: 42416 42393 mkDerivation { 42417 42394 pname = "bifunctors"; 42418 - version = "5.5.12"; 42419 - sha256 = "0pbidsv1w3bvzs8w6sv8g1iqf0l9r1y0b1fmvd67cwlp01r7f1n6"; 42420 - revision = "1"; 42421 - editedCabalFile = "1sf3nbcsbj5m5gw26kv036a1v4zmn91rw7x2iamxwx1ji668a3xy"; 42422 - libraryHaskellDepends = [ 42423 - base base-orphans comonad containers tagged template-haskell 42424 - th-abstraction transformers 42425 - ]; 42426 - testHaskellDepends = [ 42427 - base hspec QuickCheck template-haskell transformers 42428 - transformers-compat 42429 - ]; 42430 - testToolDepends = [ hspec-discover ]; 42431 - description = "Bifunctors"; 42432 - license = lib.licenses.bsd3; 42433 - }) {}; 42434 - 42435 - "bifunctors_5_5_13" = callPackage 42436 - ({ mkDerivation, base, base-orphans, comonad, containers, hspec 42437 - , hspec-discover, QuickCheck, tagged, template-haskell 42438 - , th-abstraction, transformers, transformers-compat 42439 - }: 42440 - mkDerivation { 42441 - pname = "bifunctors"; 42442 42395 version = "5.5.13"; 42443 42396 sha256 = "1myvlzxk9xrm6vf9863wnv8py3ccgfxqxyc0sqxz0v3rwfnjgk16"; 42444 42397 libraryHaskellDepends = [ ··· 42452 42405 testToolDepends = [ hspec-discover ]; 42453 42406 description = "Bifunctors"; 42454 42407 license = lib.licenses.bsd3; 42455 - hydraPlatforms = lib.platforms.none; 42456 42408 }) {}; 42457 42409 42458 42410 "bighugethesaurus" = callPackage ··· 51868 51820 }) {}; 51869 51821 51870 51822 "cabal-fmt" = callPackage 51871 - ({ mkDerivation, base, bytestring, Cabal, containers, directory 51872 - , filepath, mtl, optparse-applicative, parsec, pretty, process 51873 - , tasty, tasty-golden 51823 + ({ mkDerivation, base, bytestring, Cabal-syntax, containers 51824 + , directory, filepath, integer-logarithms, mtl 51825 + , optparse-applicative, parsec, pretty, process, QuickCheck, tasty 51826 + , tasty-golden, tasty-hunit, tasty-quickcheck, temporary 51874 51827 }: 51875 51828 mkDerivation { 51876 51829 pname = "cabal-fmt"; 51877 - version = "0.1.5.1"; 51878 - sha256 = "0z8zc48lb6nnf12477j3x5dq7nkfk877q8q1kcrdsvdkz07nzz57"; 51830 + version = "0.1.6"; 51831 + sha256 = "0vbdcc89jl5iwblb57m9g2250miwq0db7rn449dcpknskfrfrrfr"; 51879 51832 isLibrary = false; 51880 51833 isExecutable = true; 51881 51834 libraryHaskellDepends = [ 51882 - base bytestring Cabal containers directory filepath mtl parsec 51883 - pretty 51835 + base bytestring Cabal-syntax containers directory filepath mtl 51836 + parsec pretty 51884 51837 ]; 51885 51838 executableHaskellDepends = [ 51886 51839 base bytestring directory filepath optparse-applicative 51887 51840 ]; 51888 51841 testHaskellDepends = [ 51889 - base bytestring Cabal containers filepath process tasty 51890 - tasty-golden 51842 + base bytestring Cabal-syntax containers filepath integer-logarithms 51843 + process QuickCheck tasty tasty-golden tasty-hunit tasty-quickcheck 51844 + temporary 51891 51845 ]; 51892 51846 doHaddock = false; 51893 51847 description = "Format .cabal files"; ··· 53954 53908 }: 53955 53909 mkDerivation { 53956 53910 pname = "canonical-json"; 53957 - version = "0.6.0.0"; 53958 - sha256 = "0lb847hvgkn49g6rvmavk14brvvpiy6q5fswk3cm9rc53hbq02zz"; 53959 - revision = "1"; 53960 - editedCabalFile = "18i3msxza5phvv5mz7gjqcygrm8rxd86pk2vqnsa715qrhsz88ch"; 53911 + version = "0.6.0.1"; 53912 + sha256 = "0znfbazzcx33xi2gi44vqhhdl9ja308zkxydarwkacwd0pckkprk"; 53961 53913 libraryHaskellDepends = [ 53962 53914 base bytestring containers deepseq parsec pretty 53963 53915 ]; ··· 59981 59933 }: 59982 59934 mkDerivation { 59983 59935 pname = "cleveland"; 59984 - version = "0.2.0"; 59985 - sha256 = "1y99n14283vlgcy517bz1qcdaw5lad30lkg6yd4id7z6pfg9bl3d"; 59936 + version = "0.2.1"; 59937 + sha256 = "1qqk1mld2wfckpgvsj48w8rh9pdkbqq1p36wkvrphf35hl0hr882"; 59986 59938 libraryHaskellDepends = [ 59987 59939 aeson base-noprelude bytestring constraints containers criterion 59988 59940 cryptonite data-default directory either exceptions file-embed fmt ··· 66248 66200 license = lib.licenses.bsd3; 66249 66201 }) {}; 66250 66202 66203 + "config-ini_0_2_5_0" = callPackage 66204 + ({ mkDerivation, base, containers, directory, hedgehog, ini 66205 + , megaparsec, text, transformers, unordered-containers 66206 + }: 66207 + mkDerivation { 66208 + pname = "config-ini"; 66209 + version = "0.2.5.0"; 66210 + sha256 = "07vgpydzd44ayhq9c3q1335vphw384z8baf0wd0mnarr48yfaz3g"; 66211 + libraryHaskellDepends = [ 66212 + base containers megaparsec text transformers unordered-containers 66213 + ]; 66214 + testHaskellDepends = [ 66215 + base containers directory hedgehog ini text unordered-containers 66216 + ]; 66217 + description = "A library for simple INI-based configuration files"; 66218 + license = lib.licenses.bsd3; 66219 + hydraPlatforms = lib.platforms.none; 66220 + }) {}; 66221 + 66251 66222 "config-manager" = callPackage 66252 66223 ({ mkDerivation, base, directory, filepath, HUnit, parsec 66253 66224 , temporary, test-framework, test-framework-hunit, text, time ··· 67155 67126 pname = "consumers"; 67156 67127 version = "2.3.0.0"; 67157 67128 sha256 = "0kx4kfs9sp9mkwxdwb0c2dicbxb7k4cyfmvqzln4vrzqxykc73wv"; 67129 + revision = "1"; 67130 + editedCabalFile = "0hw2s92fy55l79byz1wsmyhxf2qvpch3827k5agccn7j97k33bcr"; 67158 67131 libraryHaskellDepends = [ 67159 67132 base containers exceptions extra hpqtypes lifted-base 67160 67133 lifted-threads log-base monad-control monad-time mtl stm time ··· 80252 80225 license = lib.licenses.bsd3; 80253 80226 }) {}; 80254 80227 80255 - "diagrams-lib_1_4_5_2" = callPackage 80228 + "diagrams-lib_1_4_5_3" = callPackage 80256 80229 ({ mkDerivation, active, adjunctions, array, base, bytestring 80257 80230 , cereal, colour, containers, criterion, data-default-class 80258 80231 , deepseq, diagrams-core, diagrams-solve, directory, distributive ··· 80264 80237 }: 80265 80238 mkDerivation { 80266 80239 pname = "diagrams-lib"; 80267 - version = "1.4.5.2"; 80268 - sha256 = "1vx51g9znb4a9bf20pjd9zr98wmh39avk2i06217p0iidcw8whz6"; 80240 + version = "1.4.5.3"; 80241 + sha256 = "0h762gc9l4gsbx3r035mkfrwqblwshjaxk943bq277rw9d5vi7ic"; 80269 80242 libraryHaskellDepends = [ 80270 80243 active adjunctions array base bytestring cereal colour containers 80271 80244 data-default-class diagrams-core diagrams-solve directory ··· 86030 86003 license = lib.licenses.gpl2Only; 86031 86004 }) {}; 86032 86005 86006 + "dsp_0_2_5_2" = callPackage 86007 + ({ mkDerivation, array, base, containers, QuickCheck, random }: 86008 + mkDerivation { 86009 + pname = "dsp"; 86010 + version = "0.2.5.2"; 86011 + sha256 = "0inar9c0n4x0li9c7krr17qv7zc49162wchhyn6ix7adni8j92z0"; 86012 + isLibrary = true; 86013 + isExecutable = true; 86014 + libraryHaskellDepends = [ array base containers random ]; 86015 + testHaskellDepends = [ array base containers QuickCheck ]; 86016 + description = "Haskell Digital Signal Processing"; 86017 + license = lib.licenses.gpl2Only; 86018 + hydraPlatforms = lib.platforms.none; 86019 + }) {}; 86020 + 86033 86021 "dstring" = callPackage 86034 86022 ({ mkDerivation, base, base-unicode-symbols, dlist }: 86035 86023 mkDerivation { ··· 93471 93459 }: 93472 93460 mkDerivation { 93473 93461 pname = "evm-opcodes"; 93474 - version = "0.1.1"; 93475 - sha256 = "07y2j1d6q9mnq3qaz2nf9394p88rnil6naanfxb608d9qa0cxbg9"; 93476 - libraryHaskellDepends = [ 93477 - base bytestring cereal containers data-dword text 93478 - ]; 93479 - testHaskellDepends = [ 93480 - base bytestring cereal containers data-dword hedgehog hspec tasty 93481 - tasty-discover tasty-hedgehog tasty-hspec text 93482 - ]; 93483 - testToolDepends = [ tasty-discover ]; 93484 - benchmarkHaskellDepends = [ 93485 - base bytestring cereal containers data-dword tasty-bench text 93486 - ]; 93487 - description = "Opcode types for Ethereum Virtual Machine (EVM)"; 93488 - license = lib.licenses.mit; 93489 - }) {}; 93490 - 93491 - "evm-opcodes_0_1_2" = callPackage 93492 - ({ mkDerivation, base, bytestring, cereal, containers, data-dword 93493 - , hedgehog, hspec, tasty, tasty-bench, tasty-discover 93494 - , tasty-hedgehog, tasty-hspec, text 93495 - }: 93496 - mkDerivation { 93497 - pname = "evm-opcodes"; 93498 93462 version = "0.1.2"; 93499 93463 sha256 = "0p7gb3k64jsjscfxf2cd34igkm9j8q0rq3irfh1x4jdryvck2jch"; 93500 93464 libraryHaskellDepends = [ ··· 93510 93474 ]; 93511 93475 description = "Opcode types for Ethereum Virtual Machine (EVM)"; 93512 93476 license = lib.licenses.mit; 93513 - hydraPlatforms = lib.platforms.none; 93514 93477 }) {}; 93515 93478 93516 93479 "evoke" = callPackage ··· 102631 102594 }) {}; 102632 102595 102633 102596 "freckle-app" = callPackage 102634 - ({ mkDerivation, aeson, base, Blammo, bugsnag, bytestring 102597 + ({ mkDerivation, aeson, aws-xray-client-persistent 102598 + , aws-xray-client-wai, base, Blammo, bugsnag, bytestring 102635 102599 , case-insensitive, conduit, containers, datadog, doctest, dotenv 102636 102600 , ekg-core, envparse, errors, exceptions, extra, filepath, Glob 102637 102601 , hashable, hspec, hspec-core, hspec-expectations-lifted ··· 102646 102610 }: 102647 102611 mkDerivation { 102648 102612 pname = "freckle-app"; 102649 - version = "1.6.0.3"; 102650 - sha256 = "0nv29d82zsrf6x30jsjgi9wlnfshy50h3pi5x7igxm3zxhh9saf6"; 102613 + version = "1.7.0.0"; 102614 + sha256 = "1dndz28fnlwkyskxh2b3afi2imf0ax5sxvqgbd6jl4f06lmk7i5p"; 102651 102615 libraryHaskellDepends = [ 102652 - aeson base Blammo bugsnag bytestring case-insensitive conduit 102653 - containers datadog doctest dotenv ekg-core envparse errors 102654 - exceptions extra filepath Glob hashable hspec hspec-core 102655 - hspec-expectations-lifted hspec-junit-formatter http-client 102656 - http-conduit http-link-header http-types immortal lens memcache 102657 - monad-control MonadRandom mtl network-uri path-pieces persistent 102658 - persistent-postgresql postgresql-simple primitive resource-pool 102659 - retry safe scientist semigroupoids template-haskell text time 102660 - transformers transformers-base typed-process unliftio unliftio-core 102616 + aeson aws-xray-client-persistent aws-xray-client-wai base Blammo 102617 + bugsnag bytestring case-insensitive conduit containers datadog 102618 + doctest dotenv ekg-core envparse errors exceptions extra filepath 102619 + Glob hashable hspec hspec-core hspec-expectations-lifted 102620 + hspec-junit-formatter http-client http-conduit http-link-header 102621 + http-types immortal lens memcache monad-control MonadRandom mtl 102622 + network-uri path-pieces persistent persistent-postgresql 102623 + postgresql-simple primitive resource-pool retry safe scientist 102624 + semigroupoids template-haskell text time transformers 102625 + transformers-base typed-process unliftio unliftio-core 102661 102626 unordered-containers vector wai wai-extra yaml yesod-core 102662 102627 ]; 102663 102628 testHaskellDepends = [ ··· 105001 104966 , fgl-visualize, file-embed, filepath, free, futhark-data 105002 104967 , futhark-manifest, futhark-server, githash, half, happy, haskeline 105003 104968 , language-c-quote, lens, lsp, mainland-pretty, megaparsec, mtl 105004 - , mwc-random, neat-interpolation, parallel, process, process-extras 105005 - , QuickCheck, random, regex-tdfa, srcloc, statistics, tasty 105006 - , tasty-hunit, tasty-quickcheck, template-haskell, temporary 105007 - , terminal-size, text, time, transformers, vector, versions 105008 - , zip-archive, zlib 104969 + , mwc-random, neat-interpolation, parallel, prettyprinter 104970 + , prettyprinter-ansi-terminal, process, process-extras, QuickCheck 104971 + , random, regex-tdfa, srcloc, statistics, tasty, tasty-hunit 104972 + , tasty-quickcheck, template-haskell, temporary, terminal-size 104973 + , text, time, transformers, vector, versions, zip-archive, zlib 105009 104974 }: 105010 104975 mkDerivation { 105011 104976 pname = "futhark"; 105012 - version = "0.22.1"; 105013 - sha256 = "1h3ihd0cymcnbv5ms49dmfpgyngmai58v61sw5j04zi7f9xjyr0n"; 104977 + version = "0.22.2"; 104978 + sha256 = "027w745vs121jsah29kqgw288s40ag25jszbf0sb2dh1xb30lvpw"; 105014 104979 isLibrary = true; 105015 104980 isExecutable = true; 105016 104981 libraryHaskellDepends = [ ··· 105020 104985 fgl-visualize file-embed filepath free futhark-data 105021 104986 futhark-manifest futhark-server githash half haskeline 105022 104987 language-c-quote lens lsp mainland-pretty megaparsec mtl mwc-random 105023 - neat-interpolation parallel process process-extras random 104988 + neat-interpolation parallel prettyprinter 104989 + prettyprinter-ansi-terminal process process-extras random 105024 104990 regex-tdfa srcloc statistics template-haskell temporary 105025 104991 terminal-size text time transformers vector versions zip-archive 105026 104992 zlib ··· 106892 106858 license = lib.licenses.mit; 106893 106859 }) {}; 106894 106860 106861 + "generic-functor_1_0_0_0" = callPackage 106862 + ({ mkDerivation, ap-normalize, base, transformers }: 106863 + mkDerivation { 106864 + pname = "generic-functor"; 106865 + version = "1.0.0.0"; 106866 + sha256 = "0cnwzz7303z55nr64bi56w2bqxh7wxmv8wxzmh5xb37k674qjgz6"; 106867 + libraryHaskellDepends = [ ap-normalize base ]; 106868 + testHaskellDepends = [ base transformers ]; 106869 + description = "Deriving generalized functors with GHC.Generics"; 106870 + license = lib.licenses.mit; 106871 + hydraPlatforms = lib.platforms.none; 106872 + }) {}; 106873 + 106895 106874 "generic-labels" = callPackage 106896 106875 ({ mkDerivation, base, Cabal, generic-lens-core, inspection-testing 106897 106876 }: ··· 107846 107825 license = lib.licenses.mit; 107847 107826 }) {}; 107848 107827 107828 + "genvalidity-hspec_1_0_0_2" = callPackage 107829 + ({ mkDerivation, base, genvalidity, genvalidity-property, hspec 107830 + , hspec-core, QuickCheck, transformers, validity 107831 + }: 107832 + mkDerivation { 107833 + pname = "genvalidity-hspec"; 107834 + version = "1.0.0.2"; 107835 + sha256 = "00sv0mzlvny5ch7c9fnd19szqd0pjrkvi080x1i62qa5fdzs5yc4"; 107836 + libraryHaskellDepends = [ 107837 + base genvalidity genvalidity-property hspec hspec-core QuickCheck 107838 + transformers validity 107839 + ]; 107840 + testHaskellDepends = [ 107841 + base genvalidity hspec hspec-core QuickCheck 107842 + ]; 107843 + description = "Standard spec's for GenValidity instances"; 107844 + license = lib.licenses.mit; 107845 + hydraPlatforms = lib.platforms.none; 107846 + }) {}; 107847 + 107849 107848 "genvalidity-hspec-aeson" = callPackage 107850 107849 ({ mkDerivation, aeson, base, bytestring, deepseq, genvalidity 107851 107850 , genvalidity-aeson, genvalidity-hspec, genvalidity-property ··· 110025 110024 }) {}; 110026 110025 110027 110026 "ghc-parser" = callPackage 110028 - ({ mkDerivation, base, cpphs, ghc, happy }: 110029 - mkDerivation { 110030 - pname = "ghc-parser"; 110031 - version = "0.2.3.0"; 110032 - sha256 = "1sm93n6w2zqkp4dhr604bk67sis1rb6jb6imsxr64vjfm7bkigln"; 110033 - libraryHaskellDepends = [ base ghc ]; 110034 - libraryToolDepends = [ cpphs happy ]; 110035 - description = "Haskell source parser from GHC"; 110036 - license = lib.licenses.mit; 110037 - }) {}; 110038 - 110039 - "ghc-parser_0_2_4_0" = callPackage 110040 110027 ({ mkDerivation, base, ghc }: 110041 110028 mkDerivation { 110042 110029 pname = "ghc-parser"; ··· 110045 110032 libraryHaskellDepends = [ base ghc ]; 110046 110033 description = "Haskell source parser from GHC"; 110047 110034 license = lib.licenses.mit; 110048 - hydraPlatforms = lib.platforms.none; 110049 110035 }) {}; 110050 110036 110051 110037 "ghc-paths" = callPackage ··· 110424 110410 }: 110425 110411 mkDerivation { 110426 110412 pname = "ghc-tags-core"; 110427 - version = "0.4.1.0"; 110428 - sha256 = "0lcgbp61zvaa52ynp4lwnjf7vwk126f496r16zfbc6saxrgdmz0p"; 110413 + version = "0.4.2.2"; 110414 + sha256 = "1mp1c5jvvbmypjh45nnvlkvqrj4hj55pcb9f42qwv5xw4yan86m1"; 110429 110415 libraryHaskellDepends = [ 110430 110416 attoparsec base bytestring containers deepseq directory 110431 110417 filepath-bytestring ghc mtl pipes pipes-attoparsec pipes-bytestring ··· 110454 110440 }: 110455 110441 mkDerivation { 110456 110442 pname = "ghc-tags-plugin"; 110457 - version = "0.5.1.0"; 110458 - sha256 = "0k8lg8k4vd6z12zfks50j6i9mz827bgchjg55snbgnh3h30is6ab"; 110443 + version = "0.5.2.0"; 110444 + sha256 = "1n8b3xsyji5p1w1wrpwscp71mhnh4y6i9v881wml4s49fp6rv3dj"; 110459 110445 isLibrary = true; 110460 110446 isExecutable = true; 110461 110447 libraryHaskellDepends = [ ··· 121298 121284 }: 121299 121285 mkDerivation { 121300 121286 pname = "gtk-sni-tray"; 121301 - version = "0.1.8.0"; 121302 - sha256 = "0b8b8hvsv60zvnjidqm1qchxdgqdf5gcmm5pz8fvrvcjqq27b1xa"; 121303 - isLibrary = true; 121304 - isExecutable = true; 121305 - libraryHaskellDepends = [ 121306 - base bytestring containers dbus directory enclosed-exceptions 121307 - filepath gi-cairo gi-cairo-connector gi-cairo-render 121308 - gi-dbusmenugtk3 gi-gdk gi-gdkpixbuf gi-glib gi-gtk gtk-strut 121309 - haskell-gi haskell-gi-base hslogger status-notifier-item text 121310 - transformers transformers-base unix 121311 - ]; 121312 - libraryPkgconfigDepends = [ gtk3 ]; 121313 - executableHaskellDepends = [ 121314 - base dbus dbus-hslogger gi-gdk gi-gtk gtk-strut hslogger 121315 - optparse-applicative status-notifier-item text unix 121316 - ]; 121317 - description = "A standalone StatusNotifierItem/AppIndicator tray"; 121318 - license = lib.licenses.bsd3; 121319 - badPlatforms = lib.platforms.darwin; 121320 - mainProgram = "gtk-sni-tray-standalone"; 121321 - }) {inherit (pkgs) gtk3;}; 121322 - 121323 - "gtk-sni-tray_0_1_8_1" = callPackage 121324 - ({ mkDerivation, base, bytestring, containers, dbus, dbus-hslogger 121325 - , directory, enclosed-exceptions, filepath, gi-cairo 121326 - , gi-cairo-connector, gi-cairo-render, gi-dbusmenugtk3, gi-gdk 121327 - , gi-gdkpixbuf, gi-glib, gi-gtk, gtk-strut, gtk3, haskell-gi 121328 - , haskell-gi-base, hslogger, optparse-applicative 121329 - , status-notifier-item, text, transformers, transformers-base, unix 121330 - }: 121331 - mkDerivation { 121332 - pname = "gtk-sni-tray"; 121333 121287 version = "0.1.8.1"; 121334 121288 sha256 = "0i131ks6m5akgcfahcbfqhg1i5dxz0y6rba3is4s3m5va6spp5yf"; 121335 121289 isLibrary = true; ··· 121349 121303 description = "A standalone StatusNotifierItem/AppIndicator tray"; 121350 121304 license = lib.licenses.bsd3; 121351 121305 badPlatforms = lib.platforms.darwin; 121352 - hydraPlatforms = lib.platforms.none; 121353 121306 mainProgram = "gtk-sni-tray-standalone"; 121354 121307 }) {inherit (pkgs) gtk3;}; 121355 121308 ··· 121359 121312 }: 121360 121313 mkDerivation { 121361 121314 pname = "gtk-strut"; 121362 - version = "0.1.3.1"; 121363 - sha256 = "1zy5qv628n2hs8lrg9bggri2gj2jcyl7xwlrz8w4ndgnpsw9zk7c"; 121364 - libraryHaskellDepends = [ 121365 - base data-default gi-gdk gi-gtk hslogger text transformers 121366 - ]; 121367 - description = "Libary for creating strut windows with gi-gtk"; 121368 - license = lib.licenses.bsd3; 121369 - }) {}; 121370 - 121371 - "gtk-strut_0_1_3_2" = callPackage 121372 - ({ mkDerivation, base, data-default, gi-gdk, gi-gtk, hslogger, text 121373 - , transformers 121374 - }: 121375 - mkDerivation { 121376 - pname = "gtk-strut"; 121377 121315 version = "0.1.3.2"; 121378 121316 sha256 = "0rymacvllin8ni2fd7yyfq43rbbyb921c4nm4z7aa2z82fsrkw3q"; 121379 121317 libraryHaskellDepends = [ ··· 121381 121319 ]; 121382 121320 description = "Library for creating strut windows with gi-gtk"; 121383 121321 license = lib.licenses.bsd3; 121384 - hydraPlatforms = lib.platforms.none; 121385 121322 }) {}; 121386 121323 121387 121324 "gtk-toggle-button-list" = callPackage ··· 123966 123903 }) {}; 123967 123904 123968 123905 "haiji" = callPackage 123969 - ({ mkDerivation, aeson, attoparsec, base, data-default, doctest 123970 - , filepath, mtl, process-extras, scientific, tagged, tasty 123971 - , tasty-hunit, tasty-th, template-haskell, text, transformers 123972 - , unordered-containers, vector 123906 + ({ mkDerivation, aeson, attoparsec, base, data-default, mtl 123907 + , process-extras, scientific, tagged, tasty, tasty-hunit, tasty-th 123908 + , template-haskell, text, transformers, unordered-containers 123909 + , vector 123973 123910 }: 123974 123911 mkDerivation { 123975 123912 pname = "haiji"; 123976 - version = "0.3.3.0"; 123977 - sha256 = "1fmdiimjk2cnafjb2v8xdbnlwp6m79khl920l8gv1jcvqjmv9vvs"; 123913 + version = "0.3.4.0"; 123914 + sha256 = "1m97lnd993xpxcbm3n2qgqzqjb5j3jvkzkdcb1h9qjd3lr88j1cf"; 123978 123915 libraryHaskellDepends = [ 123979 123916 aeson attoparsec base data-default mtl scientific tagged 123980 123917 template-haskell text transformers unordered-containers vector 123981 123918 ]; 123982 123919 testHaskellDepends = [ 123983 - aeson base data-default doctest filepath process-extras tasty 123984 - tasty-hunit tasty-th text 123920 + aeson base data-default process-extras tasty tasty-hunit tasty-th 123921 + text 123985 123922 ]; 123986 123923 description = "A typed template engine, subset of jinja2"; 123987 123924 license = lib.licenses.bsd3; ··· 129300 129237 ]; 129301 129238 pname = "hsqml"; 129302 129239 license = lib.licenses.bsd3; 129303 - }) {}; 129304 - 129305 - pname = "hsqml"; 129306 - pname = "hsqml"; 129307 - pname = "hsqml"; 129308 - }: 129309 - mkDerivation { 129310 - pname = "hsqml"; 129311 - pname = "hsqml"; 129312 - pname = "hsqml"; 129313 - libraryHaskellDepends = [ 129314 - pname = "hsqml"; 129315 - ]; 129316 - testHaskellDepends = [ 129317 - pname = "hsqml"; 129318 - template-haskell 129319 - ]; 129320 - pname = "hsqml"; 129321 - license = lib.licenses.bsd3; 129322 - hydraPlatforms = lib.platforms.none; 129323 129240 }) {}; 129324 129241 129325 129242 pname = "hsqml"; ··· 135188 135105 135189 135106 "hegg" = callPackage 135190 135107 ({ mkDerivation, base, containers, deriving-compat, tasty 135191 - , tasty-hunit, tasty-quickcheck, transformers 135108 + , tasty-bench, tasty-hunit, tasty-quickcheck, transformers 135192 135109 }: 135193 135110 mkDerivation { 135194 135111 pname = "hegg"; 135195 - version = "0.1.0.0"; 135196 - sha256 = "00i18as11njqc10g360aca0l9diz474lsm73rwkg53bwwnfssg1n"; 135112 + version = "0.2.0.0"; 135113 + sha256 = "124rdj3lmssn57gy3nffinyg1p03wd3w672v7l2aa8gzrpan20cg"; 135197 135114 libraryHaskellDepends = [ base containers transformers ]; 135198 135115 testHaskellDepends = [ 135199 135116 base containers deriving-compat tasty tasty-hunit tasty-quickcheck 135117 + ]; 135118 + benchmarkHaskellDepends = [ 135119 + base containers deriving-compat tasty tasty-bench tasty-hunit 135120 + tasty-quickcheck 135200 135121 ]; 135201 135122 description = "Fast equality saturation in Haskell"; 135202 135123 license = lib.licenses.bsd3; ··· 138861 138782 ]; 138862 138783 description = "inotify conduit sources"; 138863 138784 license = lib.licenses.bsd3; 138785 + hydraPlatforms = lib.platforms.none; 138786 + broken = true; 138864 138787 }) {}; 138865 138788 138866 138789 "hinquire" = callPackage ··· 140705 140628 maintainers = [ lib.maintainers.maralorn ]; 140706 140629 }) {}; 140707 140630 140631 + "hlint_3_5" = callPackage 140632 + ({ mkDerivation, aeson, ansi-terminal, base, bytestring, cmdargs 140633 + , containers, cpphs, data-default, deriving-aeson, directory, extra 140634 + , file-embed, filepath, filepattern, ghc-lib-parser 140635 + , ghc-lib-parser-ex, hscolour, process, refact, text, transformers 140636 + , uniplate, unordered-containers, utf8-string, vector, yaml 140637 + }: 140638 + mkDerivation { 140639 + pname = "hlint"; 140640 + version = "3.5"; 140641 + sha256 = "0kxdrqybnma508g1z42s3rc3cay11m8nl5ziddyw31m020515gcq"; 140642 + isLibrary = true; 140643 + isExecutable = true; 140644 + enableSeparateDataOutput = true; 140645 + libraryHaskellDepends = [ 140646 + aeson ansi-terminal base bytestring cmdargs containers cpphs 140647 + data-default deriving-aeson directory extra file-embed filepath 140648 + filepattern ghc-lib-parser ghc-lib-parser-ex hscolour process 140649 + refact text transformers uniplate unordered-containers utf8-string 140650 + vector yaml 140651 + ]; 140652 + executableHaskellDepends = [ base ]; 140653 + description = "Source code suggestions"; 140654 + license = lib.licenses.bsd3; 140655 + hydraPlatforms = lib.platforms.none; 140656 + mainProgram = "hlint"; 140657 + maintainers = [ lib.maintainers.maralorn ]; 140658 + }) {}; 140659 + 140708 140660 "hlint-test" = callPackage 140709 140661 ({ mkDerivation, base, hlint }: 140710 140662 mkDerivation { ··· 154306 154258 }: 154307 154259 mkDerivation { 154308 154260 pname = "hurl-xml"; 154309 - version = "0.1.0.0"; 154310 - sha256 = "14z0b68fsqpbhap6yywjv3y48bz0chn4p0hhklw9zgyyhhrvlz1z"; 154261 + version = "0.2.0.0"; 154262 + sha256 = "1xcjc0ckq2wb6nmszaf97iciqa6il8f20rp3vjy1a6gmiclib8mh"; 154311 154263 libraryHaskellDepends = [ 154312 154264 base bytestring containers css-syntax data-default-class directory 154313 154265 file-embed filepath html-conduit hurl network-uri stylist-traits ··· 158126 158078 }: 158127 158079 mkDerivation { 158128 158080 pname = "ihaskell"; 158129 - version = "0.10.2.2"; 158130 - sha256 = "1lcyhj19v44wc6blj31fc4gfzsbqj0wnf9fyll8xi4nq0wq0zw89"; 158131 - isLibrary = true; 158132 - isExecutable = true; 158133 - enableSeparateDataOutput = true; 158134 - libraryHaskellDepends = [ 158135 - aeson base base64-bytestring binary bytestring cmdargs containers 158136 - directory exceptions filepath ghc ghc-boot ghc-parser ghc-paths 158137 - haskeline hlint http-client http-client-tls ipython-kernel parsec 158138 - process random shelly split stm strict text time transformers unix 158139 - unordered-containers utf8-string vector 158140 - ]; 158141 - executableHaskellDepends = [ 158142 - aeson base bytestring containers directory ghc ipython-kernel 158143 - process strict text transformers unix unordered-containers 158144 - ]; 158145 - testHaskellDepends = [ 158146 - base directory ghc ghc-paths here hspec hspec-contrib HUnit 158147 - raw-strings-qq setenv shelly text transformers 158148 - ]; 158149 - description = "A Haskell backend kernel for the IPython project"; 158150 - license = lib.licenses.mit; 158151 - mainProgram = "ihaskell"; 158152 - }) {}; 158153 - 158154 - "ihaskell_0_10_3_0" = callPackage 158155 - ({ mkDerivation, aeson, base, base64-bytestring, binary, bytestring 158156 - , cmdargs, containers, directory, exceptions, filepath, ghc 158157 - , ghc-boot, ghc-parser, ghc-paths, haskeline, here, hlint, hspec 158158 - , hspec-contrib, http-client, http-client-tls, HUnit 158159 - , ipython-kernel, parsec, process, random, raw-strings-qq, setenv 158160 - , shelly, split, stm, strict, text, time, transformers, unix 158161 - , unordered-containers, utf8-string, vector 158162 - }: 158163 - mkDerivation { 158164 - pname = "ihaskell"; 158165 158081 pname = "hsqml"; 158166 158082 sha256 = "0caghqp1k04mhfxqpz2hics92wdw8krnjycqsxsjp8s7impl36vl"; 158167 158083 isLibrary = true; ··· 158184 158100 ]; 158185 158101 description = "A Haskell backend kernel for the Jupyter project"; 158186 158102 license = lib.licenses.mit; 158187 - hydraPlatforms = lib.platforms.none; 158188 158103 mainProgram = "ihaskell"; 158189 158104 }) {}; 158190 158105 ··· 158239 158154 ]; 158240 158155 description = "IHaskell display instances for charts types"; 158241 158156 license = lib.licenses.mit; 158157 + hydraPlatforms = lib.platforms.none; 158158 + broken = true; 158242 158159 }) {}; 158243 158160 158244 158161 "ihaskell-diagrams" = callPackage ··· 158255 158172 ]; 158256 158173 description = "IHaskell display instances for diagram types"; 158257 158174 license = lib.licenses.mit; 158175 + hydraPlatforms = lib.platforms.none; 158176 + broken = true; 158258 158177 }) {}; 158259 158178 158260 158179 "ihaskell-display" = callPackage ··· 158277 158196 libraryHaskellDepends = [ base bytestring gnuplot ihaskell ]; 158278 158197 description = "IHaskell display instance for Gnuplot (from gnuplot package)"; 158279 158198 license = lib.licenses.mit; 158199 + hydraPlatforms = lib.platforms.none; 158200 + broken = true; 158280 158201 }) {}; 158281 158202 158282 158203 "ihaskell-graphviz" = callPackage ··· 158386 158307 libraryHaskellDepends = [ base bytestring hmatrix ihaskell plot ]; 158387 158308 description = "IHaskell display instance for Plot (from plot package)"; 158388 158309 license = lib.licenses.mit; 158310 + hydraPlatforms = lib.platforms.none; 158311 + broken = true; 158389 158312 }) {}; 158390 158313 158391 158314 "ihaskell-rlangqq" = callPackage ··· 162627 162550 }: 162628 162551 mkDerivation { 162629 162552 pname = "ipython-kernel"; 162630 - version = "0.10.2.2"; 162631 - sha256 = "1zvpabfqnkga2smp4p0p46i9llkvxdcdvf0ysafh5xia4ls2icyq"; 162632 - isLibrary = true; 162633 - isExecutable = true; 162634 - enableSeparateDataOutput = true; 162635 - libraryHaskellDepends = [ 162636 - aeson base binary bytestring containers cryptonite directory 162637 - filepath memory parsec process temporary text transformers 162638 - unordered-containers uuid zeromq4-haskell 162639 - ]; 162640 - description = "A library for creating kernels for IPython frontends"; 162641 - license = lib.licenses.mit; 162642 - }) {}; 162643 - 162644 - "ipython-kernel_0_10_3_0" = callPackage 162645 - ({ mkDerivation, aeson, base, binary, bytestring, containers 162646 - , cryptonite, directory, filepath, memory, parsec, process 162647 - , temporary, text, transformers, unordered-containers, uuid 162648 - , zeromq4-haskell 162649 - }: 162650 - mkDerivation { 162651 - pname = "ipython-kernel"; 162652 162553 pname = "hsqml"; 162653 162554 sha256 = "0zvcqgvrykfmp706snbpxy8ia0hkxshrj8r8kfwkvkwhxd72ad5c"; 162654 162555 isLibrary = true; ··· 162661 162562 ]; 162662 162563 description = "A library for creating kernels for IPython frontends"; 162663 162564 license = lib.licenses.mit; 162664 - hydraPlatforms = lib.platforms.none; 162665 162565 }) {}; 162666 162566 162667 162567 "irc" = callPackage ··· 173857 173757 }: 173858 173758 mkDerivation { 173859 173759 pname = "launchdarkly-server-sdk"; 173860 - version = "3.0.1"; 173861 - sha256 = "08smhjp2vjnjz2dvgpswgsrv7vjwrawgm3vbylgysc816w56bxg7"; 173760 + version = "3.0.2"; 173761 + sha256 = "1wh0an9g3hzpmdp2jayag7dknajivl07h273ar1qplrfd1js5fd6"; 173862 173762 libraryHaskellDepends = [ 173863 173763 aeson attoparsec base base16-bytestring bytestring clock containers 173864 173764 cryptohash exceptions extra generic-lens hashtables hedis ··· 180855 180755 }: 180856 180756 mkDerivation { 180857 180757 pname = "log-base"; 180858 - version = "0.11.1.0"; 180859 - sha256 = "0gq92n2xbvrsaqyf2mjfcdpxrgvv2ls299mijjmm6b0m9qzh3r2y"; 180758 + version = "0.12.0.0"; 180759 + sha256 = "0z646qhyp636q24fxwkkpbg2z5f5vfyskkl04jrk9hpfvba3arsg"; 180860 180760 libraryHaskellDepends = [ 180861 180761 aeson aeson-pretty base bytestring deepseq exceptions mmorph 180862 180762 monad-control mtl semigroups stm text time transformers-base ··· 180925 180825 180926 180826 "log-elasticsearch" = callPackage 180927 180827 ({ mkDerivation, aeson, aeson-pretty, base, base64-bytestring 180928 - , bytestring, deepseq, http-client, http-client-tls, http-types 180828 + , bytestring, deepseq, http-client, http-client-openssl, http-types 180929 180829 , log-base, network-uri, semigroups, text, text-show, time 180930 - , transformers, unordered-containers, vector 180830 + , transformers, unliftio-core, unordered-containers, vector 180931 180831 }: 180932 180832 mkDerivation { 180933 180833 pname = "log-elasticsearch"; 180934 - version = "0.12.2.0"; 180935 - sha256 = "1laj93wiy092ha7w1dmaggpqkyq6y8zc3l1s56h2dv7jrxhfpc7n"; 180834 + version = "0.13.0.0"; 180835 + sha256 = "1jc3891y71rxidwhyfqkkh4jf7kvfw8if622z2fbdl7wgr40saqj"; 180936 180836 libraryHaskellDepends = [ 180937 180837 aeson aeson-pretty base base64-bytestring bytestring deepseq 180938 - http-client http-client-tls http-types log-base network-uri 180939 - semigroups text text-show time transformers unordered-containers 180940 - vector 180838 + http-client http-client-openssl http-types log-base network-uri 180839 + semigroups text text-show time transformers unliftio-core 180840 + unordered-containers vector 180941 180841 ]; 180942 180842 description = "Structured logging solution (Elasticsearch back end)"; 180943 180843 license = lib.licenses.bsd3; ··· 180946 180846 "log-postgres" = callPackage 180947 180847 ({ mkDerivation, aeson, aeson-pretty, base, base64-bytestring 180948 180848 , bytestring, deepseq, hpqtypes, http-client, lifted-base, log-base 180949 - , mtl, semigroups, split, text, text-show, time 180849 + , mtl, semigroups, split, text, text-show, time, unliftio-core 180950 180850 , unordered-containers, vector 180951 180851 }: 180952 180852 mkDerivation { 180953 180853 pname = "log-postgres"; 180954 - version = "0.8.1.0"; 180955 - sha256 = "01j6x59cahsajymzcqjp7miy46azjnarsgs8ymc5blak2wbws2i5"; 180854 + version = "0.9.0.0"; 180855 + sha256 = "0a61vzps32garq2alk7gqg0ga25acv1in3fzxhrmsmqgzimxhi6b"; 180956 180856 libraryHaskellDepends = [ 180957 180857 aeson aeson-pretty base base64-bytestring bytestring deepseq 180958 180858 hpqtypes http-client lifted-base log-base mtl semigroups split text 180959 - text-show time unordered-containers vector 180859 + text-show time unliftio-core unordered-containers vector 180960 180860 ]; 180961 180861 description = "Structured logging solution (PostgreSQL back end)"; 180962 180862 license = lib.licenses.bsd3; ··· 182025 181925 }: 182026 181926 mkDerivation { 182027 181927 pname = "lorentz"; 182028 - version = "0.14.0"; 182029 - sha256 = "1f9yhkg8q4bzsbrk6srgkaqlykj00i7jsvdqvjp9b2nd6mn7cf1j"; 181928 + version = "0.14.1"; 181929 + sha256 = "0qvg3b0hmnjwarmvsynz7f2y362r6wszzm46168154xwmgyrkb3h"; 182030 181930 libraryHaskellDepends = [ 182031 181931 aeson-pretty base-noprelude bimap bytestring constraints containers 182032 181932 cryptonite data-default first-class-families fmt lens morley ··· 194490 194390 }: 194491 194391 mkDerivation { 194492 194392 pname = "morley"; 194493 - version = "1.17.0"; 194494 - sha256 = "1a0z4351rf3aix5gwkacjvf9wjfgnv8b5xv8w1y1hk7c4cflaand"; 194393 + version = "1.18.0"; 194394 + sha256 = "0kv4rcq8yqdnmf14dsf03196nc717cih2pd574cc7qvfv2frwgh7"; 194495 194395 isLibrary = true; 194496 194396 isExecutable = true; 194497 194397 libraryHaskellDepends = [ ··· 194531 194431 }: 194532 194432 mkDerivation { 194533 194433 pname = "morley-client"; 194534 - version = "0.2.0"; 194535 - sha256 = "1pdaqvhg94bikn3dsdg7l98wwy62l3wyxzrkx5pzl0pkwzqqbfy0"; 194434 + version = "0.2.1"; 194435 + sha256 = "0a55lmbk1b2h7469hv084a0gyp48w57hjz05wlpc4npm0gp1ijxw"; 194536 194436 isLibrary = true; 194537 194437 isExecutable = true; 194538 194438 libraryHaskellDepends = [ ··· 200265 200165 }: 200266 200166 mkDerivation { 200267 200167 pname = "net-mqtt"; 200268 - version = "0.8.2.2"; 200269 - sha256 = "1aadyks5id0pb9kz2ydqvy0sp6v5kliv9khmn1s47vvsb920zqy3"; 200168 + version = "0.8.2.3"; 200169 + sha256 = "0z75is6s7flxhcw4bqc0zzm81swvcq1yxcczw2dph93n4wbgsz90"; 200270 200170 isLibrary = true; 200271 200171 isExecutable = true; 200272 200172 libraryHaskellDepends = [ ··· 224739 224639 }: 224740 224640 mkDerivation { 224741 224641 pname = "postgresql-migration"; 224742 - version = "0.2.1.3"; 224743 - sha256 = "1qxkan5f328rv3nl31pvhz305k7b4ah98s0j1bc4hcaa5g5d3052"; 224744 - revision = "5"; 224745 - editedCabalFile = "06g55xijcgcy0gcgwrj8jd6lalfxvswmk2di0iv40s52b84ysqih"; 224746 - isLibrary = true; 224747 - isExecutable = true; 224748 - libraryHaskellDepends = [ 224749 - base base64-bytestring bytestring cryptohash directory filepath 224750 - postgresql-simple text time 224751 - ]; 224752 - executableHaskellDepends = [ 224753 - base base64-bytestring bytestring cryptohash directory 224754 - postgresql-simple text time 224755 - ]; 224756 - testHaskellDepends = [ base bytestring hspec postgresql-simple ]; 224757 - description = "PostgreSQL Schema Migrations"; 224758 - license = lib.licenses.bsd3; 224759 - mainProgram = "migrate"; 224760 - }) {}; 224761 - 224762 - "postgresql-migration_0_2_1_4" = callPackage 224763 - ({ mkDerivation, base, base64-bytestring, bytestring, cryptohash 224764 - , directory, filepath, hspec, postgresql-simple, text, time 224765 - }: 224766 - mkDerivation { 224767 - pname = "postgresql-migration"; 224768 224642 version = "0.2.1.4"; 224769 224643 sha256 = "0p8rggalgijw02p7m77x443md5dg1kjvvm06v980cchsj148c80s"; 224770 224644 isLibrary = true; ··· 224780 224654 testHaskellDepends = [ base bytestring hspec postgresql-simple ]; 224781 224655 description = "PostgreSQL Schema Migrations"; 224782 224656 license = lib.licenses.bsd3; 224783 - hydraPlatforms = lib.platforms.none; 224784 224657 mainProgram = "migrate"; 224785 224658 }) {}; 224786 224659 ··· 227644 227517 ({ mkDerivation, base, primitive }: 227645 227518 mkDerivation { 227646 227519 pname = "primitive-unaligned"; 227647 - version = "0.1.1.1"; 227648 - sha256 = "1f3a46d9dr7x1k8b6ixnp9jzxkppx3g27qsxq4f244ndnf2jnchl"; 227649 - revision = "1"; 227650 - editedCabalFile = "1vksp8izwb2hwyc1li3cf209cf2vaj6ww9n3lyrksr8ymd1p6f16"; 227651 - libraryHaskellDepends = [ base primitive ]; 227652 - testHaskellDepends = [ base primitive ]; 227653 - description = "Unaligned access to primitive arrays"; 227654 - license = lib.licenses.bsd3; 227655 - }) {}; 227656 - 227657 - "primitive-unaligned_0_1_1_2" = callPackage 227658 - ({ mkDerivation, base, primitive }: 227659 - mkDerivation { 227660 - pname = "primitive-unaligned"; 227661 227520 version = "0.1.1.2"; 227662 227521 sha256 = "1ksl2gib15inbd80rf0bl3baj8fmk740liv4fdg9493dlhr3a4pa"; 227663 227522 libraryHaskellDepends = [ base primitive ]; 227664 227523 testHaskellDepends = [ base primitive ]; 227665 227524 description = "Unaligned access to primitive arrays"; 227666 227525 license = lib.licenses.bsd3; 227667 - hydraPlatforms = lib.platforms.none; 227668 227526 }) {}; 227669 227527 227670 227528 "primitive-unlifted" = callPackage ··· 229560 229418 }: 229561 229419 mkDerivation { 229562 229420 pname = "proto-lens"; 229563 - version = "0.7.1.1"; 229564 - sha256 = "1a2w8bpi18djcfklgkvsla5zbfsncww260kw8a87jdd3l0v6gq7q"; 229565 - enableSeparateDataOutput = true; 229566 - libraryHaskellDepends = [ 229567 - base bytestring containers deepseq ghc-prim lens-family parsec 229568 - pretty primitive profunctors tagged text transformers vector 229569 - ]; 229570 - testHaskellDepends = [ 229571 - base bytestring QuickCheck tasty tasty-quickcheck vector 229572 - ]; 229573 - description = "A lens-based implementation of protocol buffers in Haskell"; 229574 - license = lib.licenses.bsd3; 229575 - }) {}; 229576 - 229577 - "proto-lens_0_7_1_2" = callPackage 229578 - ({ mkDerivation, base, bytestring, containers, deepseq, ghc-prim 229579 - , lens-family, parsec, pretty, primitive, profunctors, QuickCheck 229580 - , tagged, tasty, tasty-quickcheck, text, transformers, vector 229581 - }: 229582 - mkDerivation { 229583 - pname = "proto-lens"; 229584 229421 version = "0.7.1.2"; 229585 229422 sha256 = "0zbkwksmnpc5ivbhckg1kjivn1qbk9pz79vifyiydp90nxjh56fy"; 229586 229423 enableSeparateDataOutput = true; ··· 229593 229430 ]; 229594 229431 description = "A lens-based implementation of protocol buffers in Haskell"; 229595 229432 license = lib.licenses.bsd3; 229596 - hydraPlatforms = lib.platforms.none; 229597 229433 }) {}; 229598 229434 229599 229435 "proto-lens-arbitrary" = callPackage ··· 229726 229562 }: 229727 229563 mkDerivation { 229728 229564 pname = "proto-lens-runtime"; 229729 - version = "0.7.0.2"; 229730 - sha256 = "1akspkc1vswdk2z8ilqdnpf01a851mrr820j516xxnlwmhql7y3k"; 229731 - libraryHaskellDepends = [ 229732 - base bytestring containers deepseq filepath lens-family proto-lens 229733 - text vector 229734 - ]; 229735 - doHaddock = false; 229736 - license = lib.licenses.bsd3; 229737 - }) {}; 229738 - 229739 - "proto-lens-runtime_0_7_0_3" = callPackage 229740 - ({ mkDerivation, base, bytestring, containers, deepseq, filepath 229741 - , lens-family, proto-lens, text, vector 229742 - }: 229743 - mkDerivation { 229744 - pname = "proto-lens-runtime"; 229745 229565 version = "0.7.0.3"; 229746 229566 sha256 = "1fb64xcrgd7v2l4hqqcs0riszklkxh516l7n4p9lwwqmagmgz36y"; 229747 229567 libraryHaskellDepends = [ ··· 229750 229570 ]; 229751 229571 doHaddock = false; 229752 229572 license = lib.licenses.bsd3; 229753 - hydraPlatforms = lib.platforms.none; 229754 229573 }) {}; 229755 229574 229756 229575 "proto-lens-setup" = callPackage ··· 256499 256318 }: 256500 256319 mkDerivation { 256501 256320 pname = "shake"; 256502 - version = "0.19.6"; 256503 - sha256 = "0hnm3h1ni4jq73a7b7yxhbg9wm8mrjda5kmkpnmclynnpwvvi7bx"; 256504 - isLibrary = true; 256505 - isExecutable = true; 256506 - enableSeparateDataOutput = true; 256507 - libraryHaskellDepends = [ 256508 - base binary bytestring deepseq directory extra filepath filepattern 256509 - hashable heaps js-dgtable js-flot js-jquery primitive process 256510 - random time transformers unix unordered-containers utf8-string 256511 - ]; 256512 - executableHaskellDepends = [ 256513 - base binary bytestring deepseq directory extra filepath filepattern 256514 - hashable heaps js-dgtable js-flot js-jquery primitive process 256515 - random time transformers unix unordered-containers utf8-string 256516 - ]; 256517 - testHaskellDepends = [ 256518 - base binary bytestring deepseq directory extra filepath filepattern 256519 - hashable heaps js-dgtable js-flot js-jquery primitive process 256520 - QuickCheck random time transformers unix unordered-containers 256521 - utf8-string 256522 - ]; 256523 - description = "Build system library, like Make, but more accurate dependencies"; 256524 - license = lib.licenses.bsd3; 256525 - mainProgram = "shake"; 256526 - }) {}; 256527 - 256528 - "shake_0_19_7" = callPackage 256529 - ({ mkDerivation, base, binary, bytestring, deepseq, directory 256530 - , extra, filepath, filepattern, hashable, heaps, js-dgtable 256531 - , js-flot, js-jquery, primitive, process, QuickCheck, random, time 256532 - , transformers, unix, unordered-containers, utf8-string 256533 - }: 256534 - mkDerivation { 256535 - pname = "shake"; 256536 256321 version = "0.19.7"; 256537 256322 sha256 = "1lcr6q53qwm308bny6gfawcjhxsmalqi3dnwckam02zp2apmcaim"; 256538 256323 isLibrary = true; ··· 256556 256341 ]; 256557 256342 description = "Build system library, like Make, but more accurate dependencies"; 256558 256343 license = lib.licenses.bsd3; 256559 - hydraPlatforms = lib.platforms.none; 256560 256344 mainProgram = "shake"; 256561 256345 }) {}; 256562 256346 ··· 256734 256518 }: 256735 256519 mkDerivation { 256736 256520 pname = "shake-futhark"; 256737 - version = "0.2.0.1"; 256738 - sha256 = "0kwj2q0sfh80gcxamfh4k2cnr2mbbs41n43z5rwdawcmdb2c0xxy"; 256521 + version = "0.2.0.2"; 256522 + sha256 = "0rcm4m65l7lv0nzxwq29vklpxv960b1x3kx2fvrbyb9r2carh5h5"; 256739 256523 libraryHaskellDepends = [ 256740 256524 base containers directory filepath futhark shake text 256741 256525 ]; ··· 267561 267345 pname = "stack"; 267562 267346 version = "2.9.1"; 267563 267347 sha256 = "01020dx89m07qmjs58vs2kidhkzq3106md08w6c65bzxvlf6kcwk"; 267348 + revision = "1"; 267349 + editedCabalFile = "06xrw6k1vqkvgmb4cvxqmh756n7h9vynbb3smicb1149czrlwkv2"; 267564 267350 configureFlags = [ 267565 267351 "-fdisable-git-info" "-fhide-dependency-versions" 267566 267352 "-fsupported-build" ··· 271998 271784 mainProgram = "hstrrand"; 271999 271785 }) {}; 272000 271786 271787 + "string-random_0_1_4_3" = callPackage 271788 + ({ mkDerivation, attoparsec, base, bytestring, containers 271789 + , optparse-applicative, pcre-heavy, QuickCheck, random, tasty 271790 + , tasty-hunit, tasty-quickcheck, text, transformers 271791 + }: 271792 + mkDerivation { 271793 + pname = "string-random"; 271794 + version = "0.1.4.3"; 271795 + sha256 = "1ddy6fbkwk0nwq4anq6nsbggrlamn5d3kz2q4iy7744igasij97g"; 271796 + isLibrary = true; 271797 + isExecutable = true; 271798 + libraryHaskellDepends = [ 271799 + attoparsec base containers random text transformers 271800 + ]; 271801 + executableHaskellDepends = [ base optparse-applicative text ]; 271802 + testHaskellDepends = [ 271803 + base bytestring pcre-heavy QuickCheck tasty tasty-hunit 271804 + tasty-quickcheck text 271805 + ]; 271806 + description = "A library for generating random string from a regular experession"; 271807 + license = lib.licenses.bsd3; 271808 + hydraPlatforms = lib.platforms.none; 271809 + mainProgram = "hstrrand"; 271810 + }) {}; 271811 + 272001 271812 "string-similarity" = callPackage 272002 271813 ({ mkDerivation, base, bytestring, criterion, hspec, QuickCheck 272003 271814 , suffixtree ··· 274122 273933 ({ mkDerivation, base, blaze-markup, blaze-svg, directory, text }: 274123 273934 mkDerivation { 274124 273935 pname = "svg-icons"; 274125 - version = "0.4.0.2"; 274126 - sha256 = "1z31ynhchk27hzfayrbnh9xzdq5ibz57ls2jk7j5jck9xmxl7zac"; 273936 + version = "1.0.0.0"; 273937 + sha256 = "1ddq3im8z4jqpxxk3qqa30372ybvp8capmxbi3xx5ik5vjrcp0cv"; 274127 273938 isLibrary = true; 274128 273939 isExecutable = true; 274129 273940 libraryHaskellDepends = [ ··· 274665 274476 ({ mkDerivation, base, containers, mtl, tasty, tasty-hunit }: 274666 274477 mkDerivation { 274667 274478 pname = "syb"; 274668 - version = "0.7.2.1"; 274669 - sha256 = "15ld5929n3lzfb5sy9nnm77x2l6i2sgsxw47jdrqcrz6fxpwc1qq"; 274670 - libraryHaskellDepends = [ base ]; 274671 - testHaskellDepends = [ base containers mtl tasty tasty-hunit ]; 274672 - description = "Scrap Your Boilerplate"; 274673 - license = lib.licenses.bsd3; 274674 - }) {}; 274675 - 274676 - "syb_0_7_2_2" = callPackage 274677 - ({ mkDerivation, base, containers, mtl, tasty, tasty-hunit }: 274678 - mkDerivation { 274679 - pname = "syb"; 274680 274479 version = "0.7.2.2"; 274681 274480 sha256 = "1qxjjndfwz2vvpz9707banmcn6jl2v6w6zp401zxaj327fccchw1"; 274682 274481 libraryHaskellDepends = [ base ]; 274683 274482 testHaskellDepends = [ base containers mtl tasty tasty-hunit ]; 274684 274483 description = "Scrap Your Boilerplate"; 274685 274484 license = lib.licenses.bsd3; 274686 - hydraPlatforms = lib.platforms.none; 274687 274485 }) {}; 274688 274486 274689 274487 "syb-extras" = callPackage ··· 279966 279764 ({ mkDerivation, base, template-haskell }: 279967 279765 mkDerivation { 279968 279766 pname = "template-haskell-compat-v0208"; 279969 - version = "0.1.9"; 279970 - sha256 = "082i7m3chwcxggfx5mgd716w83dxw6l9v8y4gl3p37f8rd2lqbrj"; 279971 - libraryHaskellDepends = [ base template-haskell ]; 279972 - description = "A backwards compatibility layer for Template Haskell newer than 2.8"; 279973 - license = lib.licenses.mit; 279974 - }) {}; 279975 - 279976 - "template-haskell-compat-v0208_0_1_9_1" = callPackage 279977 - ({ mkDerivation, base, template-haskell }: 279978 - mkDerivation { 279979 - pname = "template-haskell-compat-v0208"; 279980 279767 version = "0.1.9.1"; 279981 279768 sha256 = "1z87rla4vcbghdrvjkay59b686f0by02102vwrcayn4vbwzn4am1"; 279982 279769 libraryHaskellDepends = [ base template-haskell ]; 279983 279770 description = "A backwards compatibility layer for Template Haskell newer than 2.8"; 279984 279771 license = lib.licenses.mit; 279985 - hydraPlatforms = lib.platforms.none; 279986 279772 }) {}; 279987 279773 279988 279774 "template-haskell-optics" = callPackage ··· 281020 280806 }: 281021 280807 mkDerivation { 281022 280808 pname = "tesla"; 281023 - version = "0.5.0.0"; 281024 - sha256 = "1nlzibxw9ayb2yjhpfky0sxd8q44ss8hxvgs4vi9xkw4afymr2w5"; 280809 + version = "0.5.1.0"; 280810 + sha256 = "1blavadij1cvjp0dknsczvsms4ma7hh31zd8bmiksravxpcmdbw5"; 281025 280811 libraryHaskellDepends = [ 281026 280812 aeson base base64-bytestring bytestring casing containers 281027 280813 cryptonite exceptions finite-typelits generic-deriving http-client ··· 283158 282944 ({ mkDerivation, base, containers, ghc-prim, template-haskell }: 283159 282945 mkDerivation { 283160 282946 pname = "th-abstraction"; 283161 - version = "0.4.4.0"; 283162 - sha256 = "1nmgylmxgqc2hxjqcxqiws2qm8cimvc859b1fr341hn60an1d829"; 283163 - libraryHaskellDepends = [ 283164 - base containers ghc-prim template-haskell 283165 - ]; 283166 - testHaskellDepends = [ base containers template-haskell ]; 283167 - description = "Nicer interface for reified information about data types"; 283168 - license = lib.licenses.isc; 283169 - }) {}; 283170 - 283171 - "th-abstraction_0_4_5_0" = callPackage 283172 - ({ mkDerivation, base, containers, ghc-prim, template-haskell }: 283173 - mkDerivation { 283174 - pname = "th-abstraction"; 283175 282947 version = "0.4.5.0"; 283176 282948 sha256 = "09hm0famyqsq09lal2ylnhsb31hybj8zanldi7cqncky4i7y5m80"; 283177 282949 libraryHaskellDepends = [ ··· 283180 282952 testHaskellDepends = [ base containers template-haskell ]; 283181 282953 description = "Nicer interface for reified information about data types"; 283182 282954 license = lib.licenses.isc; 283183 - hydraPlatforms = lib.platforms.none; 283184 282955 }) {}; 283185 282956 283186 282957 "th-alpha" = callPackage ··· 283819 283590 license = lib.licenses.mit; 283820 283591 }) {}; 283821 283592 283593 + "th-utilities_0_2_5_0" = callPackage 283594 + ({ mkDerivation, base, bytestring, containers, directory, filepath 283595 + , hspec, primitive, syb, template-haskell, text, th-abstraction 283596 + , th-orphans, vector 283597 + }: 283598 + mkDerivation { 283599 + pname = "th-utilities"; 283600 + version = "0.2.5.0"; 283601 + sha256 = "1qcp3f9q4b9p372vdngy7bzcxp9b669vddpijg4j5vz04njl41sa"; 283602 + libraryHaskellDepends = [ 283603 + base bytestring containers directory filepath primitive syb 283604 + template-haskell text th-abstraction th-orphans 283605 + ]; 283606 + testHaskellDepends = [ 283607 + base bytestring containers directory filepath hspec primitive syb 283608 + template-haskell text th-abstraction th-orphans vector 283609 + ]; 283610 + description = "Collection of useful functions for use with Template Haskell"; 283611 + license = lib.licenses.mit; 283612 + hydraPlatforms = lib.platforms.none; 283613 + }) {}; 283614 + 283822 283615 "thank-you-stars" = callPackage 283823 283616 ({ mkDerivation, aeson, base, bytestring, Cabal, containers 283824 283617 , directory, filepath, hackage-db, hspec, hspec-discover, req ··· 287201 286994 ]; 287202 286995 description = "Simple tokenizer for English text"; 287203 286996 license = lib.licenses.bsd3; 286997 + }) {}; 286998 + 286999 + "tokenizer" = callPackage 287000 + ({ mkDerivation, base, containers, hspec, megaparsec, transformers 287001 + }: 287002 + mkDerivation { 287003 + pname = "tokenizer"; 287004 + version = "0.1.0.0"; 287005 + sha256 = "1wwck2pl95va6dlafh2yj8hf1fpkh05si4fl188ap472anmlhwy3"; 287006 + isLibrary = true; 287007 + isExecutable = true; 287008 + libraryHaskellDepends = [ base containers transformers ]; 287009 + testHaskellDepends = [ 287010 + base containers hspec megaparsec transformers 287011 + ]; 287012 + description = "Check uniqueness and tokenize safely"; 287013 + license = lib.licenses.mit; 287014 + hydraPlatforms = lib.platforms.none; 287015 + broken = true; 287204 287016 }) {}; 287205 287017 287206 287018 "tokenizer-monad" = callPackage ··· 305868 305680 }: 305869 305681 mkDerivation { 305870 305682 pname = "welford-online-mean-variance"; 305871 - version = "0.1.0.0"; 305872 - sha256 = "0px7b1jbz5wn3zvmj0y4nrwy9m99615nw06hd3snaa60z4m88blm"; 305683 + version = "0.1.0.1"; 305684 + sha256 = "1zzahm5d47rx1zx70i24mj6slkddwpa6hwyplda36x9xpkpjzr51"; 305873 305685 libraryHaskellDepends = [ base cereal deepseq vector ]; 305874 305686 testHaskellDepends = [ 305875 305687 base cereal deepseq QuickCheck tasty tasty-discover ··· 316559 316371 pname = "zigzag"; 316560 316372 version = "0.0.1.0"; 316561 316373 sha256 = "1gy2hv4ggxfwrxg9v3qyxpfrm1j5sixckc2j3h37ckzsh5v06mga"; 316374 + revision = "1"; 316375 + editedCabalFile = "04n4m74hlh0fpy7qbgmm0piblc5d54nnj7322wnw2yj50am7hbxc"; 316562 316376 libraryHaskellDepends = [ base ]; 316563 316377 testHaskellDepends = [ base tasty tasty-hunit tasty-quickcheck ]; 316564 316378 description = "Zigzag encoding of integers into unsigned integers";
+41
pkgs/development/tools/haskell/hadrian/default.nix
··· 1 + { # GHC source tree to build hadrian from 2 + ghcSrc ? null, ghcVersion ? null 3 + , mkDerivation, base, bytestring, Cabal, containers, directory 4 + , extra, filepath, lib, mtl, parsec, shake, text, transformers 5 + , unordered-containers 6 + , userSettings ? null 7 + , writeText 8 + }: 9 + 10 + if ghcSrc == null || ghcVersion == null 11 + then throw "hadrian: need to specify ghcSrc and ghcVersion arguments manually" 12 + else 13 + 14 + mkDerivation { 15 + pname = "hadrian"; 16 + version = ghcVersion; 17 + src = ghcSrc; 18 + postUnpack = '' 19 + sourceRoot="$sourceRoot/hadrian" 20 + ''; 21 + # Overwrite UserSettings.hs with a provided custom one 22 + postPatch = lib.optionalString (userSettings != null) '' 23 + install -m644 "${writeText "UserSettings.hs" userSettings}" src/UserSettings.hs 24 + ''; 25 + configureFlags = [ 26 + # avoid QuickCheck dep which needs shared libs / TH 27 + "-f-selftest" 28 + # Building hadrian with -O1 takes quite some time with little benefit. 29 + # Additionally we need to recompile it on every change of UserSettings.hs. 30 + # See https://gitlab.haskell.org/ghc/ghc/-/merge_requests/1190 31 + "-O0" 32 + ]; 33 + isLibrary = false; 34 + isExecutable = true; 35 + executableHaskellDepends = [ 36 + base bytestring Cabal containers directory extra filepath mtl 37 + parsec shake text transformers unordered-containers 38 + ]; 39 + description = "GHC build system"; 40 + license = lib.licenses.bsd3; 41 + }
+6 -4
pkgs/top-level/haskell-packages.nix
··· 192 192 ghc94 = ghc942; 193 193 ghcHEAD = callPackage ../development/compilers/ghc/head.nix { 194 194 bootPkgs = 195 - if stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian then 196 - packages.ghc8107 195 + if stdenv.isAarch64 || stdenv.isAarch32 then 196 + packages.ghc922BinaryMinimal 197 + else if stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian then 198 + packages.ghc924 197 199 else 198 - packages.ghc8107Binary; 200 + packages.ghc922Binary; 199 201 inherit (buildPackages.python3Packages) sphinx; 200 202 # Need to use apple's patched xattr until 201 203 # https://github.com/xattr/xattr/issues/44 and 202 204 # https://github.com/xattr/xattr/issues/55 are solved. 203 205 inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook; 206 + # 2022-08-04: Support range >= 10 && < 14 204 207 buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12; 205 208 llvmPackages = pkgs.llvmPackages_12; 206 - libffi = pkgs.libffi; 207 209 }; 208 210 209 211 ghcjs = compiler.ghcjs810;