From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHavm-0000hH-OL for guix-patches@gnu.org; Tue, 30 Oct 2018 16:48:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHavj-0006K2-F4 for guix-patches@gnu.org; Tue, 30 Oct 2018 16:48:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHavh-0006IY-R7 for guix-patches@gnu.org; Tue, 30 Oct 2018 16:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gHavh-0007uv-LJ for guix-patches@gnu.org; Tue, 30 Oct 2018 16:48:01 -0400 Subject: [bug#33210] [PATCH 1/3] gnu: Add sqlite-with-single-thread. References: <87a7mvqikl.fsf@lassieur.org> In-Reply-To: <87a7mvqikl.fsf@lassieur.org> Resent-Message-ID: From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Date: Tue, 30 Oct 2018 21:47:24 +0100 Message-Id: <20181030204726.13354-1-clement@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33210@debbugs.gnu.org * gnu/packages/databases.scm (sqlite-with-single-thread): New variable. --- gnu/packages/databases.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 87fb170e5..24914cd87 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -32,6 +32,7 @@ ;;; Copyright © 2017 Kristofer Buffington ;;; Copyright © 2018 Amirouche Boubekki ;;; Copyright © 2018 Joshua Sierles, Nextjournal +;;; Copyright © 2018 Clément Lassieur ;;; ;;; This file is part of GNU Guix. ;;; @@ -1223,6 +1224,15 @@ is in the public domain.") "-DSQLITE_ENABLE_DBSTAT_VTAB " "-DSQLITE_ENABLE_COLUMN_METADATA"))))))) +;; This is used by Cuirass. +(define-public sqlite-with-single-thread + (package (inherit sqlite) + (name "sqlite-with-single-thread") + (arguments + (substitute-keyword-arguments (package-arguments sqlite) + ((#:configure-flags flags) + `(cons "--disable-threadsafe" ,flags)))))) + (define-public tdb (package (name "tdb") -- 2.19.1