Expose boehmgc-nix in overlay

This commit is contained in:
John Ericson 2023-12-03 18:17:47 -05:00
parent e275f0adfb
commit 60fe4ddaa1

View file

@ -188,6 +188,17 @@
++ [ "-DUSE_SSH=exec" ]; ++ [ "-DUSE_SSH=exec" ];
}); });
boehmgc-nix = (final.boehmgc.override {
enableLargeConfig = true;
}).overrideAttrs(o: {
patches = (o.patches or []) ++ [
./boehmgc-coroutine-sp-fallback.diff
# https://github.com/ivmai/bdwgc/pull/586
./boehmgc-traceable_allocator-public.diff
];
});
nix = nix =
let let
officialRelease = false; officialRelease = false;
@ -196,25 +207,14 @@
then "" then ""
else "pre${builtins.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}_${self.shortRev or "dirty"}"; else "pre${builtins.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}_${self.shortRev or "dirty"}";
boehmgc = (final.boehmgc.override {
enableLargeConfig = true;
}).overrideAttrs(o: {
patches = (o.patches or []) ++ [
./boehmgc-coroutine-sp-fallback.diff
# https://github.com/ivmai/bdwgc/pull/586
./boehmgc-traceable_allocator-public.diff
];
});
in final.callPackage ./package.nix { in final.callPackage ./package.nix {
inherit inherit
boehmgc
fileset fileset
stdenv stdenv
versionSuffix versionSuffix
; ;
officialRelease = false; officialRelease = false;
boehmgc = final.boehmgc-nix;
libgit2 = final.libgit2-nix; libgit2 = final.libgit2-nix;
lowdown = final.lowdown-nix; lowdown = final.lowdown-nix;
busybox-sandbox-shell = final.busybox-sandbox-shell or final.default-busybox-sandbox-shell; busybox-sandbox-shell = final.busybox-sandbox-shell or final.default-busybox-sandbox-shell;