10 storeDir ? "/nix/store",
11 stateDir ? "/nix/var",
15 boehmgc-nix_2_3 = boehmgc.override { enableLargeConfig = true; };
17 boehmgc-nix = boehmgc-nix_2_3.overrideAttrs (drv: {
18 patches = (drv.patches or [ ]) ++ [
19 # Part of the GC solution in https://github.com/NixOS/nix/pull/4944
20 ../nix/patches/boehmgc-coroutine-sp-fallback.patch
25 (aws-sdk-cpp.override {
30 customMemoryManagement = false;
33 # only a stripped down version is build which takes a lot less resources to build
34 requiredSystemFeatures = [ ];
37 # Since Lix 2.91 does not use boost coroutines, it does not need boehmgc patches either.
38 needsBoehmgcPatches = version: lib.versionOlder version "2.91";
42 callPackage (import ./common.nix ({ inherit lib fetchFromGitHub; } // args)) {
49 boehmgc = if needsBoehmgcPatches args.version then boehmgc-nix else boehmgc-nix_2_3;
50 aws-sdk-cpp = aws-sdk-cpp-nix;
53 lib.makeExtensible (self: {
59 hash = "sha256-f8k+BezKdJfmE+k7zgBJiohtS3VkkriycdXYsKOm3sc=";
60 docCargoHash = "sha256-vSf9MyD2XzofZlbzsmh6NP69G+LiX72GX4Um9UJp3dc=";
67 hash = "sha256-hiGtfzxFkDc9TSYsb96Whg0vnqBVV7CUxyscZNhed0U=";
68 docCargoHash = "sha256-F6Ld0HfRvW9r5zn8eMTP6djnV/jvwjYQet4Ghp2T90k=";
72 latest = self.lix_2_91;
73 stable = self.lix_2_91;