From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MBV1BMs0k2LbmAAAbAwnHQ (envelope-from ) for ; Sun, 29 May 2022 10:54:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wLuFA8s0k2KzVAEAG6o9tA (envelope-from ) for ; Sun, 29 May 2022 10:54:35 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9B97323073 for ; Sun, 29 May 2022 10:54:34 +0200 (CEST) Received: from localhost ([::1]:38134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvDoA-0003ku-1c for larch@yhetil.org; Sun, 29 May 2022 03:57:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvDnr-0003kb-PO for help-guix@gnu.org; Sun, 29 May 2022 03:57:36 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:37904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvDno-0004mk-92 for help-guix@gnu.org; Sun, 29 May 2022 03:57:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QcR1kZt9S8bTOW45ju3UT/PQq6BGNsSy5wgfx+aPVJw=; b=kr62ijAyxwkDYeAndmwFbpvPqP FQGkfDR+5pcrkPobsmw/OpTdZfYi2tdln0brU1E/9vbdFloDhjmQ3w/FPv5fg6MswcbHbdPg0xjEW Zkqmh8WumG2AwNofUgjh+sA6wTr47KV4dqAjIeHDJiYVVcpAVQj5LiaP/dB4vGXaaa/11pM6/q1ES aP9zq4fQALviPCPP5okdxg+KAnQ8wn8j1hJTAkRrIPnPY9CEwzS2qROK7zPEwftipChXsVmxVBYgA yc0dKZlcrtbFzdDTi5Wanx3zj/XbO2+FRXWqaB9DgnW90jSblgZbNQLsDjiYleL0nqBEJcdlSeQKx EkpIIkTA==; Received: from [192.168.2.1] (port=9974 helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nvDnf-000Tu5-Uw; Sun, 29 May 2022 13:27:24 +0530 From: Arun Isaac To: Zelphir Kaltstahl Cc: help-guix Subject: Re: guile-dbi from guix not working In-Reply-To: <3d8782db-68e8-eab7-03d4-852759e96d2f@posteo.de> References: <87k0a9o1yf.fsf@systemreboot.net> <3d8782db-68e8-eab7-03d4-852759e96d2f@posteo.de> Date: Sun, 29 May 2022 13:27:23 +0530 Message-ID: <875yloepp8.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653814474; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QcR1kZt9S8bTOW45ju3UT/PQq6BGNsSy5wgfx+aPVJw=; b=D7V9WLeNb0rGlOq4yT7km7C1SCWL65T7Asew5Y6koTEuVqsKm1oTDKpjwg/6ddGctIr71M 4jGg/3P5IdXnTECvEPqsxXTwuHvDrGrt7LUZ7raRcAXXa87cWa0KqrSpWgX5/HeijEj13B ovkhUi575rAtHacxJ1yY3nAvL8wiEvRQIxE4afJroIjkUTHduBiwlmfYOkAPcg/JwROHgX NhGok296CAhomrklOX/tsEf0xIMM6GK/x8idE68gJWAzWEEIlOdQXHJbxf+YPQrrncb22X VNM6ZQxptP2Qk1tKtI2tvGN4hT4T5tjClfA5syEzTH1/87KP4UaCXhLqv/AbGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653814474; a=rsa-sha256; cv=none; b=RhLf11P9ilLijDGqM3ZwbAbcrpXhgrMFpSz+fqFVvtTnN8n5guFwFXdt21rPdV0iuQDFUC 0etM6WgqjMRUtyo65IKpsLByoxfwtqvWF+bu0yfxJcVig9+vg4+Z/ncMfLdTDS7gY2S5FB wrOXJD6QsXjqKhzpaFw5keFd6r7O6H7uAeFDw4iBE50tKXSE84w3mS0/PKI6f3tbIOisIw 6067SYMwly238LXKfjChwMDBsjJdBAWD8+JQSSNYPjNltuKKRjAZ1rWLsjZYmZin3vVKEa oHOQaSiPQKGYkPtdkLZl7grwIWoVRjxrUdsXOnWp3koVWYXwWN2VlbN/n1zJQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=kr62ijAy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=kr62ijAy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9B97323073 X-Spam-Score: 5.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: I7TdKPRaYF0d Hi Zelphir, > Should guile-dbd-sqlite3 not be a dependency of guile-dbi then? But on > the other hand, what if one only wanted to interact with one database > type and not the other? So maybe not a must have dependency > then. Hm. What is the typical Guix solution for this kind of > "specialization" of a library? I think in the Python world, in > requirements files it would be something like `library[specialization] > == version`, to install that variant. You can think of guile-dbd-* as plugins for guile-dbi. So, you install guile-dbi along with whatever plugins you want for guile-dbi. It's no different from installing emacs and installing emacs packages of interest. I don't think we need a special Guix feature for this. But, guile-dbi should be fixed to produce a proper error message that a required plugin is missing. It should not produce misleading error messages like "file not found". If you're up for it, you can try reporting this to guile-dbi upstream. Cheers! Arun