From 932e9666a1241c4b441368da0e8d80284b971e3c Mon Sep 17 00:00:00 2001 From: Drew Hess Date: Sat, 2 Jan 2021 20:39:12 +0000 Subject: [PATCH] Work around a nix issue. See https://github.com/NixOS/nix/pull/4264 --- overlays/patches.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/overlays/patches.nix b/overlays/patches.nix index 06663e85..8913fc48 100644 --- a/overlays/patches.nix +++ b/overlays/patches.nix @@ -1,7 +1,22 @@ self: super: let + # Work around nix issue; see: + # https://github.com/NixOS/nix/pull/4264 + nixUnstable = super.nixUnstable.overrideAttrs (drv: { + patches = (drv.patches or [ ]) ++ [ + # BoehmGCStackAllocator: disable GC with coroutines https://github.com/NixOS/nix/pull/4264 + (super.fetchpatch { + url = "https://github.com/NixOS/nix/pull/4264.patch"; + sha256 = "sha256-pEvymyZLidu1Zn5LpRXcfRXF/cNqglDLx2HIGrbwksE="; + }) + ]; + }); + nixFlakes = nixUnstable; + in { + inherit nixUnstable nixFlakes; + # Hydra fixes from iohk and other various sources. hydra-unstable = super.hydra-unstable.overrideAttrs ( drv: {