Merge pull request #208421 from NixOS/haskell-updates

haskellPackages: update stackage and hackage
This commit is contained in:
maralorn 2023-01-05 00:22:18 +01:00 committed by GitHub
commit 8df4b1ad6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 539 additions and 1651 deletions

View file

@ -1,6 +1,6 @@
{
"commit": "208dc93f04d6fb2dbc01e11434c7dcea50a8a9e6",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/208dc93f04d6fb2dbc01e11434c7dcea50a8a9e6.tar.gz",
"sha256": "19pgh69fj3p1glqyjikpsvn5j4bax6yw5qxf9qaaap19hksgn85p",
"msg": "Update from Hackage at 2022-12-28T16:35:05Z"
"commit": "78541d36393ac3dd0ffa32b4a9af15fecdefb5d1",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/78541d36393ac3dd0ffa32b4a9af15fecdefb5d1.tar.gz",
"sha256": "1qwjkjlz9sw1jnsarin6803vj68bfm3iyysfwxaifga5w4dsrqcs",
"msg": "Update from Hackage at 2022-12-30T22:03:31Z"
}

View file

@ -3,6 +3,7 @@
, llvmPackages
, symlinkJoin, makeWrapper, substituteAll
, mkYarnModules
, emscripten
}:
stdenv.mkDerivation rec {
@ -116,6 +117,13 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru = {
# HACK: Make emscripten look more like a cc-wrapper to GHC
# when building the javascript backend.
targetPrefix = "em";
bintools = emscripten;
};
meta = with lib; {
homepage = "https://github.com/emscripten-core/emscripten";
description = "An LLVM-to-JavaScript Compiler";

View file

@ -21,7 +21,9 @@
, # If enabled, GHC will be built with the GPL-free but slower integer-simple
# library instead of the faster but GPLed integer-gmp library.
enableIntegerSimple ? !(lib.meta.availableOn stdenv.hostPlatform gmp), gmp
enableIntegerSimple ? !(lib.meta.availableOn stdenv.hostPlatform gmp
&& lib.meta.availableOn stdenv.targetPlatform gmp)
, gmp
, # If enabled, use -fPIC when compiling static libs.
enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform

View file

@ -20,7 +20,9 @@
, # If enabled, GHC will be built with the GPL-free but slower integer-simple
# library instead of the faster but GPLed integer-gmp library.
enableIntegerSimple ? !(lib.meta.availableOn stdenv.hostPlatform gmp), gmp
enableIntegerSimple ? !(lib.meta.availableOn stdenv.hostPlatform gmp
&& lib.meta.availableOn stdenv.targetPlatform gmp)
, gmp
, # If enabled, use -fPIC when compiling static libs.
enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform

View file

@ -23,7 +23,8 @@
, # If enabled, GHC will be built with the GPL-free but slightly slower native
# bignum backend instead of the faster but GPLed gmp backend.
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp)
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp
&& lib.meta.availableOn stdenv.targetPlatform gmp)
, gmp
, # If enabled, use -fPIC when compiling static libs.

View file

@ -23,7 +23,8 @@
, # If enabled, GHC will be built with the GPL-free but slightly slower native
# bignum backend instead of the faster but GPLed gmp backend.
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp)
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp
&& lib.meta.availableOn stdenv.targetPlatform gmp)
, gmp
, # If enabled, use -fPIC when compiling static libs.

View file

@ -23,7 +23,8 @@
, # If enabled, GHC will be built with the GPL-free but slightly slower native
# bignum backend instead of the faster but GPLed gmp backend.
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp)
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp
&& lib.meta.availableOn stdenv.targetPlatform gmp)
, gmp
, # If enabled, use -fPIC when compiling static libs.

View file

@ -25,7 +25,8 @@
, # If enabled, GHC will be built with the GPL-free but slightly slower native
# bignum backend instead of the faster but GPLed gmp backend.
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp)
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp
&& lib.meta.availableOn stdenv.targetPlatform gmp)
, gmp
, # If enabled, use -fPIC when compiling static libs.

View file

@ -25,7 +25,8 @@
, # If enabled, GHC will be built with the GPL-free but slightly slower native
# bignum backend instead of the faster but GPLed gmp backend.
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp)
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp
&& lib.meta.availableOn stdenv.targetPlatform gmp)
, gmp
, # If enabled, use -fPIC when compiling static libs.

View file

@ -25,7 +25,8 @@
, # If enabled, GHC will be built with the GPL-free but slightly slower native
# bignum backend instead of the faster but GPLed gmp backend.
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp)
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp
&& lib.meta.availableOn stdenv.targetPlatform gmp)
, gmp
, # If enabled, use -fPIC when compiling static libs.

View file

@ -39,7 +39,8 @@
, useLLVM ? !(stdenv.targetPlatform.isx86
|| stdenv.targetPlatform.isPower
|| stdenv.targetPlatform.isSparc
|| (stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin))
|| (stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin)
|| stdenv.targetPlatform.isGhcjs)
, # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a
# build-time dependency too.
@ -48,7 +49,9 @@
, # If enabled, GHC will be built with the GPL-free but slightly slower native
# bignum backend instead of the faster but GPLed gmp backend.
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp)
enableNativeBignum ? !(lib.meta.availableOn stdenv.hostPlatform gmp
&& lib.meta.availableOn stdenv.targetPlatform gmp)
|| stdenv.targetPlatform.isGhcjs
, gmp
, # If enabled, use -fPIC when compiling static libs.
@ -62,7 +65,8 @@
enableShared ? with stdenv.targetPlatform; !isWindows && !useiOSPrebuilt && !isStatic
, # Whether to build terminfo.
enableTerminfo ? !stdenv.targetPlatform.isWindows
enableTerminfo ? !(stdenv.targetPlatform.isWindows
|| stdenv.targetPlatform.isGhcjs)
, # Libdw.c only supports x86_64, i686 and s390x as of 2022-08-04
enableDwarf ? (stdenv.targetPlatform.isx86 ||
@ -156,12 +160,6 @@
assert !enableNativeBignum -> gmp != null;
assert stdenv.hostPlatform == stdenv.targetPlatform || throw ''
hadrian doesn't support building an installable GHC cross-compiler at the moment.
Consider using GHC 9.4 or lower which support this via the make build system.
See also: https://gitlab.haskell.org/ghc/ghc/-/issues/22090
'';
let
src = (if rev != null then fetchgit else fetchurl) ({
inherit url sha256;
@ -201,17 +199,19 @@ let
# Splicer will pull out correct variations
libDeps = platform: lib.optional enableTerminfo ncurses
++ [libffi]
++ lib.optionals (!targetPlatform.isGhcjs) [libffi]
# Bindist configure script fails w/o elfutils in linker search path
# https://gitlab.haskell.org/ghc/ghc/-/issues/22081
++ lib.optional enableDwarf elfutils
++ lib.optional (!enableNativeBignum) gmp
++ lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
++ lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows && !targetPlatform.isGhcjs) libiconv;
# TODO(@sternenseemann): is buildTarget LLVM unnecessary?
# GHC doesn't seem to have {LLC,OPT}_HOST
toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc
(if targetPlatform.isGhcjs
then pkgsBuildTarget.emscripten
else pkgsBuildTarget.targetPackages.stdenv.cc)
] ++ lib.optional useLLVM buildTargetLlvmPackages.llvm;
targetCC = builtins.head toolsForTarget;
@ -251,7 +251,7 @@ in
# C compiler, bintools and LLVM are used at build time, but will also leak into
# the resulting GHC's settings file and used at runtime. This means that we are
# currently only able to build GHC if hostPlatform == buildPlatform.
assert targetCC == pkgsHostTarget.targetPackages.stdenv.cc;
assert !targetPlatform.isGhcjs -> targetCC == pkgsHostTarget.targetPackages.stdenv.cc;
assert buildTargetLlvmPackages.llvm == llvmPackages.llvm;
assert stdenv.targetPlatform.isDarwin -> buildTargetLlvmPackages.clang == llvmPackages.clang;
@ -334,6 +334,13 @@ stdenv.mkDerivation ({
'*-android*|*-gnueabi*|*-musleabi*)'
done
''
# Need to make writable EM_CACHE for emscripten
# https://gitlab.haskell.org/ghc/ghc/-/wikis/javascript-backend#configure-fails-with-sub-word-sized-atomic-operations-not-available
+ lib.optionalString targetPlatform.isGhcjs ''
export EM_CACHE="$(mktemp -d emcache.XXXXXXXXXX)"
cp -Lr ${targetCC /* == emscripten */}/share/emscripten/cache/* "$EM_CACHE/"
chmod u+rwX -R "$EM_CACHE"
''
# Create bash array hadrianFlagsArray for use in buildPhase. Do it in
# preConfigure, so overrideAttrs can be used to modify it effectively.
# hadrianSettings are passed via the command line so they are more visible
@ -345,6 +352,8 @@ stdenv.mkDerivation ({
)
'';
${if targetPlatform.isGhcjs then "configureScript" else null} = "emconfigure ./configure";
# TODO(@Ericson2314): Always pass "--target" and always prefix.
configurePlatforms = [ "build" "host" ]
++ lib.optional (targetPlatform != hostPlatform) "target";
@ -353,7 +362,7 @@ stdenv.mkDerivation ({
configureFlags = [
"--datadir=$doc/share/doc/ghc"
"--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
] ++ lib.optionals (libffi != null) [
] ++ lib.optionals (libffi != null && !targetPlatform.isGhcjs) [
"--with-system-libffi"
"--with-ffi-includes=${targetPackages.libffi.dev}/include"
"--with-ffi-libraries=${targetPackages.libffi.out}/lib"
@ -392,6 +401,9 @@ stdenv.mkDerivation ({
autoSignDarwinBinariesHook
] ++ lib.optionals enableDocs [
sphinx
] ++ lib.optionals targetPlatform.isGhcjs [
# emscripten itself is added via depBuildTarget / targetCC
python3
];
# For building runtime libs
@ -450,7 +462,7 @@ stdenv.mkDerivation ({
preInstall = ''
pushd _build/bindist/*
./configure $configureFlags "''${configureFlagsArray[@]}"
$configureScript $configureFlags "''${configureFlagsArray[@]}"
'';
postInstall = ''

View file

@ -1,5 +1,5 @@
import ./common-hadrian.nix {
version = "9.5.20220921";
rev = "2463df2fe21b5b37ecada3df8c6726c534d24590";
sha256 = "1k2h4myqbs31fdzw5n4iw0qn44mp7d33kjwrr15ix4r54r8yskzs";
version = "9.7.20221224";
rev = "a5bd0eb8dd1d03c54e1b0b476ebbc4cc886d6f19";
sha256 = "1rrds9alzpy4vyh2isan32h1zmf44nsr8552wbsn1y3fg6bnpbxi";
}

View file

@ -4,7 +4,9 @@
, libXi, libXinerama, libXcursor, libXrandr, fontconfig, openjdk19-bootstrap
, ensureNewerSourcesForZipFilesHook
, setJavaClassPath
, headless ? false
# TODO(@sternenseemann): gtk3 fails to evaluate in pkgsCross.ghcjs.buildPackages
# which should be fixable, this is a no-rebuild workaround for GHC.
, headless ? stdenv.targetPlatform.isGhcjs
, enableJavaFX ? openjfx.meta.available, openjfx
, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
}:

View file

@ -20,7 +20,9 @@
# runtime dependencies
, cups
# runtime dependencies for GTK+ Look and Feel
, gtkSupport ? true
# TODO(@sternenseemann): gtk3 fails to evaluate in pkgsCross.ghcjs.buildPackages
# which should be fixable, this is a no-rebuild workaround for GHC.
, gtkSupport ? !stdenv.targetPlatform.isGhcjs
, cairo
, glib
, gtk3

View file

@ -216,10 +216,6 @@ self: super: {
# https://github.com/haskell-nix/hnix-store/issues/180
hnix-store-core = doJailbreak super.hnix-store-core;
# Too strict upper bound on bytestring
# https://github.com/wangbj/hashing/issues/3
hashing = doJailbreak super.hashing;
# Fails for non-obvious reasons while attempting to use doctest.
focuslist = dontCheck super.focuslist;
search = dontCheck super.search;
@ -1460,16 +1456,6 @@ self: super: {
servant-swagger-ui-core = doJailbreak super.servant-swagger-ui-core;
hercules-ci-agent = lib.pipe super.hercules-ci-agent [
(appendPatches [
# haskell-updates branch, will be merged in 0.9.10
(fetchpatch2 {
name = "hercules-ci-agent-cachix-1.1";
url = "https://github.com/hercules-ci/hercules-ci-agent/commit/b76d888548da37a96ae47f1be871de6605d38edd.patch";
sha256 = "sha256-kqEkDHbatcYS8LuQlGV/1j/6LXWviQoDQAHDr6DBbDU=";
stripLen = 1;
includes = [ "*.hs" ];
})
])
(self.generateOptparseApplicativeCompletions [ "hercules-ci-agent" ])
];
@ -1913,18 +1899,6 @@ self: super: {
# 2022-12-30: Restrictive upper bound on optparse-applicative
retrie = doJailbreak super.retrie;
# Fixes https://github.com/NixOS/nixpkgs/issues/140613
# https://github.com/recursion-schemes/recursion-schemes/issues/128
recursion-schemes = overrideCabal (drv: {
patches = drv.patches or [] ++ [
./patches/recursion-schemes-128.patch
];
# make sure line endings don't break the patch
prePatch = drv.prePatch or "" + ''
"${pkgs.buildPackages.dos2unix}/bin/dos2unix" *.cabal
'';
}) super.recursion-schemes;
# 2022-08-30 Too strict bounds on finite-typelits
# https://github.com/jumper149/blucontrol/issues/1
blucontrol = doJailbreak super.blucontrol;
@ -2003,12 +1977,6 @@ self: super: {
"--skip" "/toJsonSerializer/should generate valid JSON/"
] ++ drv.testFlags or [];
}) super.hschema-aeson;
# https://gitlab.com/k0001/xmlbf/-/issues/32
xmlbf = overrideCabal (drv: {
testFlags = [
"-p" "!/xml: <x b=\"\" a=\"y\"><\\/x>/&&!/xml: <x b=\"z\" a=\"y\"><\\/x>/"
] ++ drv.testFlags or [];
}) super.xmlbf;
# https://github.com/ssadler/aeson-quick/issues/3
aeson-quick = overrideCabal (drv: {
testFlags = [
@ -2142,12 +2110,6 @@ self: super: {
# https://github.com/zellige/hs-geojson/issues/29
geojson = dontCheck super.geojson;
# Doesn't support aeson >= 2.0
# https://github.com/channable/vaultenv/issues/118
vaultenv = super.vaultenv.overrideScope (self: super: {
aeson = self.aeson_1_5_6_0;
});
# Support network >= 3.1.2
# https://github.com/erebe/wstunnel/pull/107
wstunnel = appendPatch (fetchpatch {
@ -2363,4 +2325,16 @@ self: super: {
} super.postgrest));
html-charset = dontCheck super.html-charset;
# true-name-0.1.0.4 has been tagged, but has not been released to Hackage.
# Also, beyond 0.1.0.4 an additional patch is required to make true-name
# compatible with current versions of template-haskell
# https://github.com/liyang/true-name/pull/4
true-name = appendPatch (fetchpatch {
url = "https://github.com/liyang/true-name/compare/0.1.0.3...nuttycom:true-name:update_template_haskell.patch";
hash = "sha256-ZMBXGGc2X5AKXYbqgkLXkg5BhEwyj022E37sUEWahtc=";
}) (overrideCabal (drv: {
revision = null;
editedCabalFile = null;
}) super.true-name);
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View file

@ -60,8 +60,6 @@ in {
# consequences of doctest breakage follow:
double-conversion = markBroken super.double-conversion;
blaze-textual = checkAgainAfter super.double-conversion "2.0.4.1" "double-conversion fails to build; required for testsuite" (dontCheck super.blaze-textual);
ghc-source-gen = checkAgainAfter super.ghc-source-gen "0.4.3.0" "fails to build" (markBroken super.ghc-source-gen);
lucid = jailbreakForCurrentVersion super.lucid "2.11.1";

View file

@ -1485,6 +1485,7 @@ broken-packages:
- Feval
- fez-conf
- ffeed
- fft
- ffunctor
- fgl-extras-decompositions
- fib
@ -2217,7 +2218,6 @@ broken-packages:
- heterogeneous-list-literals
- hetris
- heukarya
- hevm
- HExcel
- hexchat
- hexif
@ -2323,6 +2323,7 @@ broken-packages:
- HLogger
- hlongurl
- hls-brittany-plugin
- hls-call-hierarchy-plugin
- hls-haddock-comments-plugin
- hls-selection-range-plugin
- hls-stan-plugin
@ -3667,6 +3668,7 @@ broken-packages:
- OddWord
- oden-go-packages
- oeis2
- OGDF
- OGL
- ogma-language-c
- ogma-language-cocospec
@ -3702,6 +3704,7 @@ broken-packages:
- open-adt
- OpenAFP
- openai-hs
- openapi3
- openapi3-code-generator
- openapi-petstore
- openapi-typed
@ -4269,6 +4272,7 @@ broken-packages:
- QuickAnnotate
- quickbooks
- quickcheck-arbitrary-template
- quickcheck-monoid-subclasses
- quickcheck-property-comb
- quickcheck-property-monad
- quickcheck-rematch
@ -4895,6 +4899,7 @@ broken-packages:
- SNet
- snipcheck
- snorkels
- snowchecked
- snowtify
- socket-activation
- socketed
@ -5009,6 +5014,7 @@ broken-packages:
- stm-firehose
- stm-incremental
- stm-promise
- stm-queue
- stm-stats
- stochastic
- Stomp
@ -5426,7 +5432,6 @@ broken-packages:
- trivia
- tropical
- tropical-geometry
- true-name
- tsession
- tslib
- tsparse
@ -5547,6 +5552,7 @@ broken-packages:
- unix-recursive
- unlift
- unlifted-list
- unliftio-messagebox
- unlift-stm
- unm-hip
- unordered-containers-rematch

View file

@ -1,4 +1,4 @@
# Stackage LTS 20.4
# Stackage LTS 20.5
# This file is auto-generated by
# maintainers/scripts/haskell/update-stackage.sh
default-package-overrides:
@ -15,7 +15,7 @@ default-package-overrides:
- ad-delcont ==0.3.0.0
- adjunctions ==4.4.2
- adler32 ==0.1.2.0
- advent-of-code-api ==0.2.8.2
- advent-of-code-api ==0.2.8.4
- aern2-mp ==0.2.11.0
- aern2-real ==0.2.11.0
- aeson ==2.0.3.0
@ -61,7 +61,7 @@ default-package-overrides:
- annotated-exception ==0.2.0.4
- annotated-wl-pprint ==0.7.0
- ansi-terminal ==0.11.4
- ansi-terminal-game ==1.8.0.1
- ansi-terminal-game ==1.8.1.0
- ansi-wl-pprint ==0.6.9
- ANum ==0.2.0.2
- aos-signature ==0.1.1
@ -86,11 +86,11 @@ default-package-overrides:
- array-memoize ==0.6.0
- arrow-extras ==0.1.0.1
- arrows ==0.4.4.2
- ascii ==1.2.3.0
- ascii-case ==1.0.0.11
- ascii-char ==1.0.0.15
- ascii ==1.2.4.0
- ascii-case ==1.0.1.1
- ascii-char ==1.0.0.16
- asciidiagram ==1.3.3.3
- ascii-group ==1.0.0.13
- ascii-group ==1.0.0.14
- ascii-numbers ==1.1.0.0
- ascii-predicates ==1.0.1.0
- ascii-progress ==0.3.3.0
@ -136,7 +136,7 @@ default-package-overrides:
- aws-xray-client-wai ==0.1.0.2
- backtracking ==0.1.0
- bank-holidays-england ==0.2.0.8
- barbies ==2.0.3.1
- barbies ==2.0.4.0
- base16 ==0.3.2.1
- base16-bytestring ==1.0.2.0
- base32 ==0.2.2.0
@ -171,7 +171,7 @@ default-package-overrides:
- bench-show ==0.3.2
- bencode ==0.6.1.1
- bencoding ==0.4.5.4
- benri-hspec ==0.1.0.0
- benri-hspec ==0.1.0.1
- between ==0.11.0.0
- bhoogle ==0.1.4.2
- bibtex ==0.1.0.6
@ -221,14 +221,14 @@ default-package-overrides:
- bm ==0.1.0.2
- bmp ==1.2.6.3
- bnb-staking-csvs ==0.2.1.0
- BNFC ==2.9.4
- BNFC ==2.9.4.1
- BNFC-meta ==0.6.1
- bodhi ==0.1.0
- boltzmann-samplers ==0.1.1.0
- bookkeeping ==0.4.0.1
- Boolean ==0.2.4
- boolsimplifier ==0.1.8
- boomerang ==1.4.8
- boomerang ==1.4.8.1
- boots ==0.2.0.1
- bordacount ==0.1.0.0
- boring ==0.2
@ -267,7 +267,7 @@ default-package-overrides:
- bytes ==0.17.2
- byteset ==0.1.1.0
- byteslice ==0.2.7.0
- bytesmith ==0.3.9.0
- bytesmith ==0.3.9.1
- bytestring-builder ==0.10.8.2.0
- bytestring-conversion ==0.3.2
- bytestring-lexing ==0.5.0.9
@ -341,7 +341,7 @@ default-package-overrides:
- check-email ==1.0.2
- checkers ==0.6.0
- checksum ==0.0
- chimera ==0.3.2.0
- chimera ==0.3.3.0
- choice ==0.2.2
- chronologique ==0.3.1.3
- chunked-data ==0.3.1
@ -372,6 +372,7 @@ default-package-overrides:
- code-page ==0.2.1
- cointracking-imports ==0.1.0.2
- collect-errors ==0.1.5.0
- co-log-core ==0.3.2.0
- Color ==0.3.3
- colorful-monoids ==0.2.1.3
- colorize-haskell ==1.0.1
@ -394,9 +395,9 @@ default-package-overrides:
- componentm ==0.0.0.2
- componentm-devel ==0.0.0.2
- composable-associations ==0.1.0.0
- composite-base ==0.8.2.0
- composite-binary ==0.8.2.0
- composite-ekg ==0.8.2.0
- composite-base ==0.8.2.1
- composite-binary ==0.8.2.1
- composite-ekg ==0.8.2.1
- composite-tuple ==0.1.2.0
- composite-xstep ==0.1.0.0
- composition ==1.0.2.2
@ -529,7 +530,7 @@ default-package-overrides:
- data-dword ==0.3.2.1
- data-endian ==0.1.1
- data-fix ==0.3.2
- data-forest ==0.1.0.9
- data-forest ==0.1.0.10
- data-functor-logistic ==0.0
- data-has ==0.4.0.0
- data-hash ==0.2.0.1
@ -567,7 +568,7 @@ default-package-overrides:
- dejafu ==2.4.0.4
- dense-linear-algebra ==0.1.0.0
- dependent-map ==0.4.0.0
- dependent-sum ==0.7.1.0
- dependent-sum ==0.7.2.0
- dependent-sum-template ==0.1.1.1
- depq ==0.4.2
- deque ==0.4.4
@ -597,7 +598,7 @@ default-package-overrides:
- dictionary-sharing ==0.1.0.0
- di-df1 ==1.2.1
- Diff ==0.4.1
- digest ==0.0.1.3
- digest ==0.0.1.4
- digits ==0.3.1
- di-handle ==1.0.1
- dimensional ==1.5
@ -616,7 +617,7 @@ default-package-overrides:
- dl-fedora ==0.9.3
- dlist ==1.0
- dlist-instances ==0.1.1.1
- dlist-nonempty ==0.1.1
- dlist-nonempty ==0.1.2
- dns ==4.1.0
- docker ==0.7.0.1
- dockerfile ==0.2.0
@ -624,10 +625,10 @@ default-package-overrides:
- doctemplates ==0.10.0.2
- doctest ==0.20.1
- doctest-discover ==0.2.0.0
- doctest-driver-gen ==0.3.0.5
- doctest-driver-gen ==0.3.0.6
- doctest-exitcode-stdio ==0.0
- doctest-lib ==0.1
- doctest-parallel ==0.2.5
- doctest-parallel ==0.2.6
- doldol ==0.4.1.2
- do-list ==1.0.1
- domain ==0.1.1.4
@ -637,10 +638,9 @@ default-package-overrides:
- domain-optics ==0.1.0.3
- do-notation ==0.1.0.2
- dot ==0.3
- dotenv ==0.9.0.3
- dotgen ==0.4.3
- dotnet-timespan ==0.0.1.0
- double-conversion ==2.0.4.1
- double-conversion ==2.0.4.2
- download ==0.3.2.7
- download-curl ==0.1.4
- DPutils ==0.1.1.0
@ -651,7 +651,7 @@ default-package-overrides:
- dual ==0.1.1.1
- dual-tree ==0.2.3.1
- dublincore-xml-conduit ==0.1.0.2
- dunai ==0.9.1
- dunai ==0.9.2
- duration ==0.2.0.0
- dvorak ==0.1.0.0
- dynamic-state ==0.3.1
@ -714,18 +714,18 @@ default-package-overrides:
- errors-ext ==0.4.2
- ersatz ==0.4.13
- esqueleto ==3.5.8.1
- essence-of-live-coding ==0.2.6
- essence-of-live-coding-gloss ==0.2.6
- essence-of-live-coding-pulse ==0.2.6
- essence-of-live-coding-quickcheck ==0.2.6
- essence-of-live-coding-warp ==0.2.6
- essence-of-live-coding ==0.2.7
- essence-of-live-coding-gloss ==0.2.7
- essence-of-live-coding-pulse ==0.2.7
- essence-of-live-coding-quickcheck ==0.2.7
- essence-of-live-coding-warp ==0.2.7
- event-list ==0.1.2
- eventstore ==1.4.2
- every ==0.0.1
- evm-opcodes ==0.1.2
- exact-combinatorics ==0.2.0.11
- exact-pi ==0.5.0.2
- exception-hierarchy ==0.1.0.7
- exception-hierarchy ==0.1.0.8
- exception-mtl ==0.4.0.1
- exception-transformers ==0.4.0.11
- executable-hash ==0.2.0.4
@ -789,9 +789,9 @@ default-package-overrides:
- fitspec ==0.4.10
- fixed ==0.3
- fixed-length ==0.2.3.1
- fixed-vector ==1.2.1.0
- fixed-vector ==1.2.2.1
- fixed-vector-hetero ==0.6.1.1
- fix-whitespace ==0.0.10
- fix-whitespace ==0.0.11
- flac ==0.2.0
- flac-picture ==0.1.2
- flags-applicative ==0.1.0.3
@ -1031,7 +1031,7 @@ default-package-overrides:
- haskell-gi ==0.26.2
- haskell-gi-base ==0.26.3
- haskell-gi-overloading ==1.0
- haskell-lexer ==1.1
- haskell-lexer ==1.1.1
- HaskellNet ==0.6.0.1
- HaskellNet-SSL ==0.3.4.4
- haskell-src ==1.0.4
@ -1069,7 +1069,7 @@ default-package-overrides:
- heatshrink ==0.1.0.0
- hebrew-time ==0.1.2
- hedgehog ==1.1.2
- hedgehog-classes ==0.2.5.3
- hedgehog-classes ==0.2.5.4
- hedgehog-corpus ==0.2.0
- hedgehog-fakedata ==0.0.1.5
- hedgehog-fn ==1.0
@ -1131,7 +1131,7 @@ default-package-overrides:
- hourglass ==0.2.12
- hourglass-orphans ==0.1.0.0
- hp2pretty ==0.10
- hpack ==0.35.0
- hpack ==0.35.1
- hpack-dhall ==0.5.7
- hpc-codecov ==0.3.0.0
- hpc-lcov ==1.1.0
@ -1169,7 +1169,7 @@ default-package-overrides:
- hslua-packaging ==2.2.1
- hsndfile ==0.8.0
- hsndfile-vector ==0.5.2
- HsOpenSSL ==0.11.7.2
- HsOpenSSL ==0.11.7.4
- HsOpenSSL-x509-system ==0.1.0.4
- hsp ==0.10.0
- hspec ==2.9.7
@ -1258,7 +1258,7 @@ default-package-overrides:
- hw-int ==0.0.2.0
- hw-ip ==2.4.2.1
- hw-json ==1.3.2.3
- hw-json-simd ==0.1.1.1
- hw-json-simd ==0.1.1.2
- hw-json-simple-cursor ==0.1.1.1
- hw-json-standard-cursor ==0.2.3.2
- hwk ==0.6
@ -1270,7 +1270,7 @@ default-package-overrides:
- hw-prim ==0.6.3.2
- hw-rankselect ==0.13.4.1
- hw-rankselect-base ==0.3.4.1
- hw-simd ==0.1.2.1
- hw-simd ==0.1.2.2
- hw-streams ==0.0.1.0
- hw-string-parse ==0.0.0.5
- hw-succinct ==0.1.0.1
@ -1531,7 +1531,7 @@ default-package-overrides:
- markov-chain ==0.0.3.4
- markov-chain-usage-model ==0.0.0
- mason ==0.2.5
- massiv ==1.0.2.0
- massiv ==1.0.3.0
- massiv-io ==1.0.0.1
- massiv-persist ==1.0.0.3
- massiv-serialise ==1.0.0.2
@ -1571,12 +1571,12 @@ default-package-overrides:
- microaeson ==0.1.0.1
- microlens ==0.4.12.0
- microlens-aeson ==2.5.0
- microlens-contra ==0.1.0.2
- microlens-contra ==0.1.0.3
- microlens-ghc ==0.4.13.2
- microlens-mtl ==0.2.0.2
- microlens-mtl ==0.2.0.3
- microlens-platform ==0.4.2.1
- microlens-process ==0.2.0.2
- microlens-th ==0.4.3.10
- microlens-th ==0.4.3.11
- microspec ==0.2.1.3
- microstache ==1.0.2.2
- midair ==0.2.0.1
@ -1644,7 +1644,7 @@ default-package-overrides:
- monad-time ==0.3.1.0
- mongoDB ==2.7.1.2
- monoidal-containers ==0.6.3.0
- monoid-extras ==0.6.1
- monoid-extras ==0.6.2
- monoid-subclasses ==1.1.3
- monoid-transformer ==0.0.4
- monomer ==1.5.0.0
@ -1726,7 +1726,7 @@ default-package-overrides:
- network-simple ==0.4.5
- network-simple-tls ==0.4
- network-transport ==0.5.6
- network-uri ==2.6.4.1
- network-uri ==2.6.4.2
- network-wait ==0.2.0.0
- newtype ==0.2.2.0
- newtype-generics ==0.6.2
@ -1762,9 +1762,9 @@ default-package-overrides:
- NumInstances ==1.4
- numtype-dk ==0.5.0.3
- nuxeo ==0.3.2
- nvim-hs ==2.3.1.0
- nvim-hs ==2.3.2.0
- nvim-hs-contrib ==2.0.0.1
- nvim-hs-ghcid ==2.0.0.0
- nvim-hs-ghcid ==2.0.1.0
- oauthenticated ==0.3.0.0
- ObjectName ==1.1.0.2
- oblivious-transfer ==0.1.0
@ -1781,7 +1781,7 @@ default-package-overrides:
- oo-prototypes ==0.1.0.0
- opaleye ==0.9.6.1
- OpenAL ==1.7.0.5
- openapi3 ==3.2.2
- openapi3 ==3.2.3
- open-browser ==0.2.1.0
- openexr-write ==0.1.0.2
- OpenGL ==3.0.3.0
@ -1939,7 +1939,7 @@ default-package-overrides:
- polysemy-fs ==0.1.0.0
- polysemy-kvstore ==0.1.3.0
- polysemy-methodology ==0.2.2.0
- polysemy-plugin ==0.4.3.1
- polysemy-plugin ==0.4.4.0
- polysemy-several ==0.1.1.0
- polysemy-webserver ==0.2.1.1
- polysemy-zoo ==0.8.1.0
@ -2098,7 +2098,7 @@ default-package-overrides:
- record-dot-preprocessor ==0.2.15
- record-hasfield ==1.0
- rec-smallarray ==0.1.0.0
- recursion-schemes ==5.2.2.2
- recursion-schemes ==5.2.2.3
- recv ==0.0.0
- redact ==0.4.0.0
- reddit-scrape ==0.0.1
@ -2279,7 +2279,7 @@ default-package-overrides:
- servant-multipart ==0.12.1
- servant-multipart-api ==0.12.1
- servant-multipart-client ==0.12.1
- servant-openapi3 ==2.0.1.5
- servant-openapi3 ==2.0.1.6
- servant-pipes ==0.15.3
- servant-rate-limit ==0.2.0.0
- servant-rawm ==1.0.0.0
@ -2352,10 +2352,11 @@ default-package-overrides:
- skein ==1.0.9.4
- skews ==0.1.0.3
- skip-var ==0.1.1.0
- skylighting ==0.13.1.2
- skylighting-core ==0.13.1.2
- skylighting ==0.13.2
- skylighting-core ==0.13.2
- skylighting-format-ansi ==0.1
- skylighting-format-blaze-html ==0.1.1
- skylighting-format-context ==0.1.0.1
- skylighting-format-latex ==0.1
- slack-progressbar ==0.1.0.1
- slave-thread ==1.1.0.2
@ -2366,7 +2367,7 @@ default-package-overrides:
- socket ==0.8.3.0
- socks ==0.6.1
- solana-staking-csvs ==0.1.2.0
- some ==1.0.3
- some ==1.0.4.1
- some-dict-of ==0.1.0.2
- sop-core ==0.5.0.2
- sort ==1.0.0.0
@ -2459,7 +2460,7 @@ default-package-overrides:
- string-combinators ==0.6.0.5
- string-conv ==0.2.0
- string-conversions ==0.4.0.1
- string-interpolate ==0.3.1.2
- string-interpolate ==0.3.2.0
- stringprep ==1.0.0
- string-qq ==0.0.4
- string-random ==0.1.4.3
@ -2526,7 +2527,7 @@ default-package-overrides:
- tar ==0.5.1.1
- tar-conduit ==0.3.2
- tardis ==0.4.4.0
- tasty ==1.4.2.3
- tasty ==1.4.3
- tasty-ant-xml ==1.1.8
- tasty-autocollect ==0.3.2.0
- tasty-bench ==0.3.2
@ -2559,7 +2560,7 @@ default-package-overrides:
- tcp-streams ==1.0.1.1
- tdigest ==0.2.1.1
- teardown ==0.5.0.1
- telegram-bot-simple ==0.6
- telegram-bot-simple ==0.6.1
- template ==0.2.0.10
- template-haskell-compat-v0208 ==0.1.9.1
- temporary ==1.3
@ -2587,7 +2588,7 @@ default-package-overrides:
- text-ansi ==0.2.1
- text-binary ==0.2.1.1
- text-builder ==0.6.7
- text-builder-dev ==0.3.3
- text-builder-dev ==0.3.3.2
- text-conversions ==0.3.1.1
- text-icu ==0.8.0.2
- text-latin1 ==0.3.1
@ -2601,7 +2602,7 @@ default-package-overrides:
- text-rope ==0.2
- text-short ==0.1.5
- text-show ==3.10
- text-show-instances ==3.9.2
- text-show-instances ==3.9.3
- text-zipper ==0.12
- tfp ==1.0.2
- tf-random ==0.5
@ -2822,7 +2823,7 @@ default-package-overrides:
- vector-builder ==0.3.8.4
- vector-bytes-instances ==0.1.1
- vector-circular ==0.1.4
- vector-extras ==0.2.7.1
- vector-extras ==0.2.8
- vector-instances ==3.4
- vector-mmap ==0.0.3
- vector-rotcev ==0.1.0.1
@ -2895,7 +2896,7 @@ default-package-overrides:
- webrtc-vad ==0.1.0.3
- websockets ==0.12.7.3
- weigh ==0.0.16
- wide-word ==0.1.3.0
- wide-word ==0.1.4.0
- Win32 ==2.12.0.1
- Win32-notify ==0.3.0.3
- windns ==0.1.0.1

View file

@ -239,6 +239,7 @@ dont-distribute-packages:
- JsContracts
- JsonGrammar
- JuPyTer-notebook
- JuicyPixels-scale-dct
- JunkDB-driver-gdbm
- JunkDB-driver-hashtables
- KiCS
@ -694,6 +695,7 @@ dont-distribute-packages:
- audiovisual
- aura
- authoring
- autodocodec-openapi3
- automata
- autonix-deps-kf5
- avers
@ -1357,15 +1359,11 @@ dont-distribute-packages:
- essence-of-live-coding-PortMidi
- essence-of-live-coding-gloss
- essence-of-live-coding-gloss-example
- essence-of-live-coding-gloss_0_2_7
- essence-of-live-coding-pulse
- essence-of-live-coding-pulse-example
- essence-of-live-coding-pulse_0_2_7
- essence-of-live-coding-quickcheck
- essence-of-live-coding-quickcheck_0_2_7
- essence-of-live-coding-vivid
- essence-of-live-coding-warp
- essence-of-live-coding-warp_0_2_7
- estimators
- estreps
- eternity
@ -1404,7 +1402,6 @@ dont-distribute-packages:
- exinst-serialise
- exist
- exist-instances
- exon
- expand
- expat-enumerator
- expiring-containers
@ -2427,6 +2424,8 @@ dont-distribute-packages:
- jmacro-rpc-happstack
- jmacro-rpc-snap
- join
- jordan-openapi
- jordan-servant-openapi
- jot
- jsaddle-hello
- jsc
@ -2875,6 +2874,7 @@ dont-distribute-packages:
- nakadi-client
- named-servant-client
- named-servant-server
- named-text
- nats-queue
- natural-number
- nemesis-titan
@ -3349,6 +3349,7 @@ dont-distribute-packages:
- remotion
- repa-array
- repa-convert
- repa-fftw
- repa-flow
- repa-plugin
- repa-stream
@ -3394,6 +3395,7 @@ dont-distribute-packages:
- ribosome-root
- ribosome-test
- ridley-extras
- rio-process-pool
- riot
- ripple
- ripple-federation
@ -3535,6 +3537,7 @@ dont-distribute-packages:
- servant-matrix-param
- servant-oauth2
- servant-oauth2-examples
- servant-openapi3
- servant-postgresql
- servant-pushbullet-client
- servant-rate-limit
@ -3547,6 +3550,8 @@ dont-distribute-packages:
- servant-streamly
- servant-swagger-tags
- servant-to-elm
- servant-util
- servant-util-beam-pg
- servant-waargonaut
- servant-zeppelin-client
- servant-zeppelin-server
@ -3721,6 +3726,7 @@ dont-distribute-packages:
- statsd-client
- statsdi
- stern-brocot
- stm-actor
- stm-supply
- stmcontrol
- storablevector-carray
@ -4133,6 +4139,7 @@ dont-distribute-packages:
- webcloud
- webcrank-wai
- webdriver-w3c
- webgear-openapi
- webify
- webserver
- websockets-rpc

View file

@ -723,10 +723,8 @@ self: super: builtins.intersectAttrs super {
'';
}) super.haskell-language-server;
# NOTE: this patch updates the hevm code to work with the latest packages that broke the build
# it's temporary until hevm version 0.50.0 is released - https://github.com/ethereum/hevm/milestone/1
# tests depend on a specific version of solc
hevm = dontCheck (appendPatch ./patches/hevm-update-deps.patch super.hevm);
# there are three very heavy test suites that need external repos, one requires network access
hevm = dontCheck super.hevm;
# hadolint enables static linking by default in the cabal file, so we have to explicitly disable it.
# https://github.com/hadolint/hadolint/commit/e1305042c62d52c2af4d77cdce5d62f6a0a3ce7b

File diff suppressed because it is too large Load diff

View file

@ -1,129 +0,0 @@
diff --git a/hevm.cabal b/hevm.cabal
index cf36961e..3b31f595 100644
--- a/hevm.cabal
+++ b/hevm.cabal
@@ -71,6 +71,10 @@ library
-Wall -Wno-deprecations
extra-libraries:
secp256k1, ff
+ if os(darwin)
+ extra-libraries: c++
+ else
+ extra-libraries: stdc++
c-sources:
ethjet/tinykeccak.c, ethjet/ethjet.c
cxx-sources:
@@ -88,7 +92,7 @@ library
transformers >= 0.5.6 && < 0.6,
tree-view >= 0.5 && < 0.6,
abstract-par >= 0.3.3 && < 0.4,
- aeson >= 1.5.6 && < 1.6,
+ aeson >= 2.0 && < 2.1,
bytestring >= 0.10.8 && < 0.11,
scientific >= 0.3.6 && < 0.4,
binary >= 0.8.6 && < 0.9,
@@ -97,7 +101,7 @@ library
vector >= 0.12.1 && < 0.13,
ansi-wl-pprint >= 0.6.9 && < 0.7,
base16-bytestring >= 1.0.0 && < 2.0,
- brick >= 0.58 && < 0.63,
+ brick >= 0.58 && < 0.69,
megaparsec >= 9.0.0 && < 10.0,
mtl >= 2.2.2 && < 2.3,
directory >= 1.3.3 && < 1.4,
@@ -105,13 +109,13 @@ library
vty >= 5.25.1 && < 5.34,
cereal >= 0.5.8 && < 0.6,
cryptonite >= 0.27 && <= 0.29,
- memory >= 0.14.18 && < 0.16,
+ memory >= 0.14.18 && < 0.20,
data-dword >= 0.3.1 && < 0.4,
fgl >= 5.7.0 && < 5.8,
free >= 5.1.3 && < 5.2,
haskeline >= 0.8.0 && < 0.9,
process >= 1.6.5 && < 1.7,
- lens >= 4.17.1 && < 4.20,
+ lens >= 4.17.1 && < 5.1,
lens-aeson >= 1.0.2 && < 1.2,
monad-par >= 0.3.5 && < 0.4,
multiset >= 0.3.4 && < 0.4,
@@ -124,7 +128,6 @@ library
sbv >= 8.9,
semver-range >= 0.2.7 && < 0.3,
temporary >= 1.3 && < 1.4,
- text-format >= 0.3.2 && < 0.4,
witherable >= 0.3.5 && < 0.5,
wreq >= 0.5.3 && < 0.6,
regex-tdfa >= 1.2.3 && < 1.4,
@@ -190,7 +193,6 @@ executable hevm
sbv,
temporary,
text,
- text-format,
unordered-containers,
vector,
vty
diff --git a/src/EVM/Solidity.hs b/src/EVM/Solidity.hs
index b7d0f36b..4e9d6892 100644
--- a/src/EVM/Solidity.hs
+++ b/src/EVM/Solidity.hs
@@ -70,6 +70,7 @@ import Control.Monad
import Control.Lens hiding (Indexed, (.=))
import qualified Data.String.Here as Here
import Data.Aeson hiding (json)
+import qualified Data.Aeson.KeyMap as KeyMap
import Data.Aeson.Types
import Data.Aeson.Lens
import Data.Scientific
@@ -714,8 +715,8 @@ astIdMap = foldMap f
f :: Value -> Map Int Value
f (Array x) = foldMap f x
f v@(Object x) =
- let t = foldMap f (HMap.elems x)
- in case HMap.lookup "id" x of
+ let t = foldMap f (KeyMap.elems x)
+ in case KeyMap.lookup "id" x of
Nothing -> t
Just (Number i) -> t <> Map.singleton (round i) v
Just _ -> t
diff --git a/src/EVM/SymExec.hs b/src/EVM/SymExec.hs
index 5bbf1c03..b828098e 100644
--- a/src/EVM/SymExec.hs
+++ b/src/EVM/SymExec.hs
@@ -40,8 +40,8 @@ type EquivalenceResult = ProofResult ([VM], [VM]) VM ()
-- | Convenience functions for generating large symbolic byte strings
sbytes32, sbytes128, sbytes256, sbytes512, sbytes1024 :: Query ([SWord 8])
-sbytes32 = toBytes <$> freshVar_ @ (WordN 256)
-sbytes128 = toBytes <$> freshVar_ @ (WordN 1024)
+sbytes32 = toBytes <$> freshVar_ @(WordN 256)
+sbytes128 = toBytes <$> freshVar_ @(WordN 1024)
sbytes256 = liftA2 (++) sbytes128 sbytes128
sbytes512 = liftA2 (++) sbytes256 sbytes256
sbytes1024 = liftA2 (++) sbytes512 sbytes512
diff --git a/src/EVM/Types.hs b/src/EVM/Types.hs
index fdd2368d..1dc29e83 100644
--- a/src/EVM/Types.hs
+++ b/src/EVM/Types.hs
@@ -434,17 +434,17 @@ readN s = fromIntegral (read s :: Integer)
readNull :: Read a => a -> String -> a
readNull x = fromMaybe x . Text.Read.readMaybe
-wordField :: JSON.Object -> Text -> JSON.Parser W256
+wordField :: JSON.Object -> Key -> JSON.Parser W256
wordField x f = ((readNull 0) . Text.unpack)
<$> (x .: f)
-addrField :: JSON.Object -> Text -> JSON.Parser Addr
+addrField :: JSON.Object -> Key -> JSON.Parser Addr
addrField x f = (read . Text.unpack) <$> (x .: f)
-addrFieldMaybe :: JSON.Object -> Text -> JSON.Parser (Maybe Addr)
+addrFieldMaybe :: JSON.Object -> Key -> JSON.Parser (Maybe Addr)
addrFieldMaybe x f = (Text.Read.readMaybe . Text.unpack) <$> (x .: f)
-dataField :: JSON.Object -> Text -> JSON.Parser ByteString
+dataField :: JSON.Object -> Key -> JSON.Parser ByteString
dataField x f = hexText <$> (x .: f)
toWord512 :: W256 -> Word512

View file

@ -1,24 +0,0 @@
diff --git a/recursion-schemes.cabal b/recursion-schemes.cabal
index c35f2c6..e692ade 100644
--- a/recursion-schemes.cabal
+++ b/recursion-schemes.cabal
@@ -93,6 +93,7 @@ library
Paths_recursion_schemes
ghc-options: -Wall
+ ghc-prof-options: -DPROFILING_ENABLED
if impl(ghc >= 8.6)
ghc-options: -Wno-star-is-type
default-language: Haskell2010
diff --git a/src/Data/Functor/Foldable/TH.hs b/src/Data/Functor/Foldable/TH.hs
index b3d5ac8..d4ef0e4 100644
--- a/src/Data/Functor/Foldable/TH.hs
+++ b/src/Data/Functor/Foldable/TH.hs
@@ -1,4 +1,7 @@
{-# LANGUAGE CPP, PatternGuards, Rank2Types #-}
+#if defined(PROFILING_ENABLED)
+{-# OPTIONS_GHC -O0 #-}
+#endif
module Data.Functor.Foldable.TH
( MakeBaseFunctor(..)
, BaseRules

View file

@ -19,6 +19,7 @@
, parser-combinators
, retry
, lib
, quickcheck-instances
, text
, unix
, unordered-containers
@ -28,13 +29,13 @@
}:
mkDerivation rec {
pname = "vaultenv";
version = "0.14.0";
version = "0.15.1";
src = fetchFromGitHub {
owner = "channable";
repo = "vaultenv";
rev = "v${version}";
sha256 = "sha256-sH4iaKQXgwI/WISXzMR7xqh9Dyx61U/gjYn7exgUetI=";
sha256 = "sha256-yoYkAypH+HQSVTvd/qKNFkL5krbB5mZw3ec9ojvy+Pw=";
};
buildTools = [ hpack ];
@ -86,6 +87,7 @@ mkDerivation rec {
optparse-applicative
parser-combinators
retry
quickcheck-instances
text
unix
unordered-containers
@ -96,8 +98,4 @@ mkDerivation rec {
description = "Runs processes with secrets from HashiCorp Vault";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ lnl7 manveru ];
# Does not compile on ghc92
hydraPlatforms = lib.platforms.none;
broken = true;
}

View file

@ -70,9 +70,16 @@
# the (optional) BPF feature requires bpftool, libbpf, clang and llvm-strip to be available during build time.
# Only libbpf should be a runtime dependency.
# Note: llvmPackages is explicitly taken from buildPackages instead of relying
# on splicing. Splicing will evaluate the adjacent (pkgsHostTarget) llvmPackages
# which is sometimes problematic: llvmPackages.clang looks at targetPackages.stdenv.cc
# which, in the unfortunate case of pkgsCross.ghcjs, `throw`s. If we explicitly
# take buildPackages.llvmPackages, this is no problem because
# `buildPackages.targetPackages.stdenv.cc == stdenv.cc` relative to us. Working
# around this is important, because systemd is in the dependency closure of
# GHC via emscripten and jdk.
, bpftools
, libbpf
, llvmPackages
, withAnalyze ? true
, withApparmor ? true
@ -86,7 +93,7 @@
, withHostnamed ? true
, withHwdb ? true
, withImportd ? !stdenv.hostPlatform.isMusl
, withLibBPF ? lib.versionAtLeast llvmPackages.clang.version "10.0"
, withLibBPF ? lib.versionAtLeast buildPackages.llvmPackages.clang.version "10.0"
, withLocaled ? true
, withLogind ? true
, withMachined ? true
@ -368,8 +375,8 @@ stdenv.mkDerivation {
]
++ lib.optionals withLibBPF [
bpftools
llvmPackages.clang
llvmPackages.libllvm
buildPackages.llvmPackages.clang
buildPackages.llvmPackages.libllvm
]
;

View file

@ -277,9 +277,9 @@ in {
# https://github.com/xattr/xattr/issues/44 and
# https://github.com/xattr/xattr/issues/55 are solved.
inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
# 2022-08-04: Support range >= 10 && < 14
buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12;
llvmPackages = pkgs.llvmPackages_12;
# 2022-08-04: Support range >= 10 && < 15
buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_14;
llvmPackages = pkgs.llvmPackages_14;
};
ghcjs = compiler.ghcjs810;