From e73176941d253bdab1760a4c52dcee5a253abff1 Mon Sep 17 00:00:00 2001 From: Cale Gibbard Date: Wed, 8 Feb 2023 12:30:09 -0500 Subject: [PATCH] Bypass testsuite on tahoe-chk as it seems to try to allocate a large block of memory and dies. --- default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 7f0a11a..5af2852 100644 --- a/default.nix +++ b/default.nix @@ -33,7 +33,9 @@ project ./. ({ pkgs, hackGet, ... }: { # and use callCabal2nix to get a nix derivation to build it. # See the comment in ./nixpkgs-overlay.nix for a description # of how to interact with nix thunks. - tahoe-chk = self.callCabal2nix "tahoe-chk" (nix-thunk.thunkSource ./dep/chkhs) {}; + # I disabled the tests using the dontCheck function as the testsuite + # tries to allocate too much memory and crashes for me. + tahoe-chk = dontCheck (self.callCabal2nix "tahoe-chk" (nix-thunk.thunkSource ./dep/chkhs) {}); # We also ended up needing an override of the base32 library, which we obtain from Hackage. base32 = self.callHackageDirect { pkg = "base32";