···351 ghc-datasize = disableLibraryProfiling super.ghc-datasize;
352 ghc-vis = disableLibraryProfiling super.ghc-vis;
3530000000000354 # Fixes compilation for basement on i686 for GHC >= 9.4
355 # https://github.com/haskell-foundation/foundation/pull/573
356 # Patch would not work for GHC >= 9.2 where it breaks compilation on x86_64
···351 ghc-datasize = disableLibraryProfiling super.ghc-datasize;
352 ghc-vis = disableLibraryProfiling super.ghc-vis;
353354+ # Fix 32bit struct being used for 64bit syscall on 32bit platforms
355+ # https://github.com/haskellari/lukko/issues/15
356+ lukko = appendPatches [
357+ (fetchpatch {
358+ name = "lukko-ofd-locking-32bit.patch";
359+ url = "https://github.com/haskellari/lukko/pull/32/commits/4e69ffad996c3771f50017b97375af249dd17c85.patch";
360+ sha256 = "0n8vig48irjz0jckc20dzc23k16fl5hznrc0a81y02ms72msfwi1";
361+ })
362+ ] super.lukko;
363+364 # Fixes compilation for basement on i686 for GHC >= 9.4
365 # https://github.com/haskell-foundation/foundation/pull/573
366 # Patch would not work for GHC >= 9.2 where it breaks compilation on x86_64