@@ -594,42 +594,36 @@ with haskellLib;
594594 # but we want e.g. completions as well. See
595595 # https://web.archive.org/web/20160724083703/https://git-annex.branchable.com/bugs/bash_completion_file_is_missing_in_the_6.20160527_tarball_on_hackage/
596596 # or git-annex @ 3571b077a1244330cc736181ee04b4d258a78476 doc/bugs/bash_completion_file_is_missing*
597- git-annex = lib . pipe super . git-annex (
598- [
599- ( overrideCabal ( drv : {
600- src = pkgs . fetchgit {
601- name = "git-annex-${ super . git-annex . version } -src" ;
602- url = "git://git-annex.branchable.com/" ;
603- rev = "refs/tags/" + super . git-annex . version ;
604- sha256 = "sha256-HkUrc9T8qpGsONIuM7ciKbx4vuJTOLFNxneIPte0wv4=" ;
605- # delete android and Android directories which cause issues on
606- # darwin (case insensitive directory). Since we don't need them
607- # during the build process, we can delete it to prevent a hash
608- # mismatch on darwin.
609- postFetch = ''
610- rm -r $out/doc/?ndroid*
611- '' ;
612- } ;
597+ git-annex = lib . pipe super . git-annex [
598+ ( overrideCabal ( drv : {
599+ src = pkgs . fetchgit {
600+ name = "git-annex-${ super . git-annex . version } -src" ;
601+ url = "git://git-annex.branchable.com/" ;
602+ rev = "refs/tags/" + super . git-annex . version ;
603+ sha256 = "sha256-+OLFMrqpf1Ooy7CQ9S+N/H5R5+aHQtbO1pYwDF4ln8A=" ;
604+ # delete android and Android directories which cause issues on
605+ # darwin (case insensitive directory). Since we don't need them
606+ # during the build process, we can delete it to prevent a hash
607+ # mismatch on darwin.
608+ postFetch = ''
609+ rm -r $out/doc/?ndroid*
610+ '' ;
611+ } ;
613612
614- patches = drv . patches or [ ] ++ [
615- # Prevent .desktop files from being installed to $out/usr/share.
616- # TODO(@sternenseemann): submit upstreamable patch resolving this
617- # (this should be possible by also taking PREFIX into account).
618- ./patches/git-annex-no-usr-prefix.patch
619- ] ;
613+ patches = drv . patches or [ ] ++ [
614+ # Prevent .desktop files from being installed to $out/usr/share.
615+ # TODO(@sternenseemann): submit upstreamable patch resolving this
616+ # (this should be possible by also taking PREFIX into account).
617+ ./patches/git-annex-no-usr-prefix.patch
618+ ] ;
620619
621- postPatch = ''
622- substituteInPlace Makefile \
623- --replace-fail 'InstallDesktopFile $(PREFIX)/bin/git-annex' \
624- 'InstallDesktopFile git-annex'
625- '' ;
626- } ) )
627- ]
628- ++ lib . optionals ( lib . versionOlder self . ghc . version "9.10" ) [
629- ( disableCabalFlag "OsPath" )
630- ( addBuildDepends [ self . filepath-bytestring ] )
631- ]
632- ) ;
620+ postPatch = ''
621+ substituteInPlace Makefile \
622+ --replace-fail 'InstallDesktopFile $(PREFIX)/bin/git-annex' \
623+ 'InstallDesktopFile git-annex'
624+ '' ;
625+ } ) )
626+ ] ;
633627
634628 # Too strict bounds on servant
635629 # Pending a hackage revision: https://github.com/berberman/arch-web/commit/5d08afee5b25e644f9e2e2b95380a5d4f4aa81ea#commitcomment-89230555
@@ -2806,12 +2800,12 @@ with haskellLib;
28062800 doJailbreak
28072801 # 2022-12-02: Hackage release lags behind actual releases: https://github.com/PostgREST/postgrest/issues/2275
28082802 ( overrideSrc rec {
2809- version = "14.0 " ;
2803+ version = "14.1 " ;
28102804 src = pkgs . fetchFromGitHub {
28112805 owner = "PostgREST" ;
28122806 repo = "postgrest" ;
28132807 rev = "v${ version } " ;
2814- hash = "sha256-GokYeVDuVdIbowU6xE3l8iaGbH4jnpqQFy/E+sb/Unw =" ;
2808+ hash = "sha256-VGmo0Y8Q86euPlu3AhMmcmy3rintNy6s9efpUaliBWY =" ;
28152809 } ;
28162810 } )
28172811 ] ;
@@ -2958,24 +2952,14 @@ with haskellLib;
29582952 # https://github.com/mchav/snappy-hs/commit/400490df38e0db7f353c0427f034a231bdf73098#r167007963
29592953 snappy-hs = doJailbreak super . snappy-hs ;
29602954
2955+ # Too strict upper bound on doctest
2956+ # https://github.com/awakesecurity/proto3-wire/pull/111
29612957 proto3-wire = appendPatches [
29622958 ( fetchpatch {
2963- # https://github.com/awakesecurity/proto3-wire/pull/108
29642959 name = "add-reverse-encoders-for-packed-repeated-fields.patch" ;
2965- url = "https://github.com/awakesecurity/proto3-wire/commit/d4376fb6f1c1ac03ee8ec5c5793700ca6508ea70.patch" ;
2966- hash = "sha256-vtEYg/jLoTn1YRVhQJi6kyta+U4XiWeS7i1ZSN7BYf8=" ;
2967- includes = [
2968- "**.cabal"
2969- "*.hs"
2970- ] ;
2971- } )
2972- ( fetchpatch {
2973- # https://github.com/awakesecurity/proto3-wire/pull/111
2974- name = "support-LTS-24.patch" ;
2975- url = "https://github.com/awakesecurity/proto3-wire/commit/35fd88c4daf6643135db6da9ab6ed6d6f33eb3de.patch" ;
2960+ url = "https://github.com/awakesecurity/proto3-wire/commit/fcc53d9935b64b6d8aaf65c8cef17f4bbed56867.patch" ;
29762961 hash = "sha256-GzXlweRshVLA29xVHhJSRIU40y+KtAplIqfvp0I8cY0=" ;
29772962 } )
2978-
29792963 ] super . proto3-wire ;
29802964
29812965 # 2024-07-27: building test component requires non-trivial custom build steps
@@ -3109,7 +3093,7 @@ with haskellLib;
31093093 ]
31103094 ) super )
31113095 what4
3112- what4_1_7
3096+ what4_1_7_2
31133097 ;
31143098
31153099 copilot-theorem = lib . pipe super . copilot-theorem [
@@ -3171,29 +3155,15 @@ with haskellLib;
31713155 # https://github.com/tweag/monad-bayes/issues/378
31723156 ( doJailbreak super . monad-bayes ) ;
31733157
3174- crucible =
3175- lib . pipe
3176- ( super . crucible . override {
3177- what4 = self . what4_1_7 ;
3178- } )
3179- [
3180- # 2025-04-13: jailbreak to allow th-abstraction >= 0.7
3181- ( warnAfterVersion "0.7.2" )
3182- doJailbreak
3183-
3184- # Prevent clashes with now exported Prelude.foldl'
3185- ( appendPatch (
3186- pkgs . fetchpatch {
3187- name = "base-4.20-foldl'.patch" ;
3188- url = "https://github.com/GaloisInc/crucible/commit/10f372e4b0389dd3966e04163dcd67d71e651709.patch" ;
3189- relative = "crucible" ;
3190- sha256 = "sha256-frxTs5SB1ENjH+X0lIlQ8k6pDIDOANylrqIOQpEtObU=" ;
3191- }
3192- ) )
3193- ] ;
3158+ # 2025-04-13: jailbreak to allow th-abstraction >= 0.7
3159+ crucible = doJailbreak (
3160+ super . crucible . override {
3161+ what4 = self . what4_1_7_2 ;
3162+ }
3163+ ) ;
31943164
31953165 crucible-llvm = super . crucible-llvm . override {
3196- what4 = self . what4_1_7 ;
3166+ what4 = self . what4_1_7_2 ;
31973167 } ;
31983168
31993169 # Test suite invokes cabal-install in a way incompatible with our generic builder
@@ -3331,25 +3301,6 @@ with haskellLib;
33313301 stripe-signature = doJailbreak super . stripe-signature ;
33323302 stripe-wreq = doJailbreak super . stripe-wreq ;
33333303
3334- # 2025-10-12: gi-gtk was renamed to gi-gtk3
3335- # https://github.com/haskell-gi/haskell-gi/issues/478
3336- gi-gtk-hs =
3337- appendPatches
3338- [
3339- ( pkgs . fetchpatch {
3340- name = "gi-gtk-hs-use-gtk3.patch" ;
3341- url = "https://github.com/haskell-gi/haskell-gi/commit/e2ed85835499f70e119f050a2f37f22481f93886.patch" ;
3342- sha256 = "sha256-MzxXtBNBbJJaNwTOrq/CYqK4yGfS4Yk5fQ38ihFcclA=" ;
3343- relative = "gi-gtk-hs" ;
3344- } )
3345- ]
3346- (
3347- super . gi-gtk-hs . override {
3348- gi-gdk = self . gi-gdk3 ;
3349- gi-gtk = self . gi-gtk3 ;
3350- }
3351- ) ;
3352-
33533304 # 2025-08-04: Disable failing testcases. It would feel bad to disable all the
33543305 # checks in a cryptography related package.
33553306 botan-low = overrideCabal ( drv : {
0 commit comments