From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oOl6MvFPkmIHNwEAbAwnHQ (envelope-from ) for ; Sat, 28 May 2022 18:38:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4HpoMvFPkmJ5JQEA9RJhRA (envelope-from ) for ; Sat, 28 May 2022 18:38:09 +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 AF699F49D for ; Sat, 28 May 2022 18:38:08 +0200 (CEST) Received: from localhost ([::1]:45258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuzS3-0007zR-PY for larch@yhetil.org; Sat, 28 May 2022 12:38:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuzRM-0007Sm-AW for help-guix@gnu.org; Sat, 28 May 2022 12:37:24 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuzRA-0004pS-VW for help-guix@gnu.org; Sat, 28 May 2022 12:37:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 38261240027 for ; Sat, 28 May 2022 18:37:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1653755828; bh=sC7mw06bAyOQyD32JARvY6PHKtHynEwBiRnyBF5RoAk=; h=Date:Subject:To:From:Cc:From; b=qeF5iRZw4do+D6sHs+4/HGCOKBSTYygJbjLmaKynx7hfWr4dl7TN29imPMkMiFl48 uUyKKTUB48PFhrXJngbDSQ6QopmPSuz4xdxYavM9uDq13ZTlsAFUENDrWPjuDfzidL b/XkHT73WywX2I3O4K88ZQnVt44+o//UPDk0DS/qIgnzfAQ7/h3MNPXfVv6U8H9Wkb q9/ZORKBY/eG71CoZOrBAxr8lwuU5PZhHZU0eZn6a44SL0x3cSCG/+Z/IVXwLDVD8Y Djfj++UMVLpJnWpJJPv4hefgMaSSyOez/5hzSx94c4QbfxAevPgxXucmQth3Tqxia6 ud+pDzm+Amfng== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4L9S4g1YcLz9rxb; Sat, 28 May 2022 18:37:06 +0200 (CEST) Message-ID: <3d8782db-68e8-eab7-03d4-852759e96d2f@posteo.de> Date: Sat, 28 May 2022 16:37:06 +0000 MIME-Version: 1.0 Subject: Re: guile-dbi from guix not working Content-Language: en-US To: Arun Isaac References: <87k0a9o1yf.fsf@systemreboot.net> From: Zelphir Kaltstahl Cc: help-guix In-Reply-To: <87k0a9o1yf.fsf@systemreboot.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=zelphirkaltstahl@posteo.de; helo=mout01.posteo.de 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=1653755889; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4NAlIm0AlbRzkT7zdpEgg9fDDv3ojk95pnuxwSMsb6w=; b=mFzqJd7yWU/93lybfnYw+hZOjuxk0/3P+LwJbXOHjQ/GXhWlTfR5CXRE5B+vVzMzSY+8Px 2oRLP4mrB0jKq7tP7lrcY3hPGrh+J1TV55UiUAeN36ByS/NCIwCsf1DBke9foeTz214gYt N6U7HmkfBWasovFj2lY8cTxKK9qPINdoqojvWaIWLBXw46wzj8WXiTSajZ8z4uyyoeFQ7e bocQqhWgcykQ5uun6BsR2AjpEfjh/9ScWXsfyNvcS36VbgukNZ0b48DqVodWVjSQQeuFx1 aMTV9cn9UpiWWxXk3ghF628HHJbQvqHXLh9eVG3Xo9hBZtSRSsRUIzZqpxyF1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653755889; a=rsa-sha256; cv=none; b=oEjePAxzzObpAkiIAKICAtIkAAe6aOM0uY5ha5lZMB3Xsz/DDUz+7C3Z5sYh62byycycGu TVdiMA/xbyrvcoPYAxpiGKH/CO+q8CmNLDVJH/fNvBkdkzShubEYVz9u4gya1jNJXU7G+J +vhQknosp87tm0O83nVPHt+wJ9t/ZhnhUwG5oA9E90uGIGGNSu9sF9e3AMeMKf9NTyVHhP ud99TWEbBDre4EBLkNno3nQ50ml7iSdrZCftO4ogx3rivTgyTl88ksHR8kBSMCDFxurP9h 4XB7BTQUUgWoJysfKDreVNXc8P0ifSfr4C9dYxq4Np+0jCPofZ0ghKu0MqQTOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=qeF5iRZw; dmarc=pass (policy=none) header.from=posteo.de; 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: -9.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=qeF5iRZw; dmarc=pass (policy=none) header.from=posteo.de; 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: AF699F49D X-Spam-Score: -9.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: xQFllHY+2DKQ On 5/25/22 21:18, Arun Isaac wrote: > Hi Zelphir, > >> ~~~~ >> (specifications->manifest >> '("guile@3.0.8" >> "guile-dbi")) >> ~~~~ > I think you missed guile-dbd-sqlite3 in the manifest above. With > guile-dbd-sqlite3 added, it works for me. Here are my results. > > --8<---------------cut here---------------start------------->8--- > # > # > # > # > (("id" . 33) ("name" . "ola")) > (("id" . 34) ("name" . "dzien dobre")) > (("id" . 44) ("name" . "annyong haseyo")) > (("id" . 33) ("name" . "ola")) > # > --8<---------------cut here---------------end--------------->8--- > > Hope that helps! > Arun Hi Arun! Thanks, that solves it. 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. Best regards, Zelphir -- repositories: https://notabug.org/ZelphirKaltstahl