Skip to content

Commit

Permalink
Work around a nix issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Hess committed Jan 2, 2021
1 parent 152a8c6 commit 932e966
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions overlays/patches.nix
Original file line number Diff line number Diff line change
@@ -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: {
Expand Down

0 comments on commit 932e966

Please sign in to comment.