From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Olivier Dion via General Guile related discussions Newsgroups: gmane.lisp.guile.user Subject: Re: [ANN] Guile-Parallel 1.0.0 released Date: Sun, 08 Jan 2023 09:44:51 -0500 Message-ID: <877cxxf5lo.fsf@laura> References: <87wn68p6qi.fsf@laura> <87pmbzpb6h.fsf@laura> Reply-To: Olivier Dion Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38407"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User To: Zelphir Kaltstahl Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Jan 08 15:45:45 2023 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pEWve-0009m6-Vc for guile-user@m.gmane-mx.org; Sun, 08 Jan 2023 15:45:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEWv9-0007NG-Fr; Sun, 08 Jan 2023 09:45:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEWv4-0007K9-7T for guile-user@gnu.org; Sun, 08 Jan 2023 09:45:07 -0500 Original-Received: from smtp.polymtl.ca ([132.207.4.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEWv2-00089M-0P for guile-user@gnu.org; Sun, 08 Jan 2023 09:45:05 -0500 Original-Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 308EipDm028077; Sun, 8 Jan 2023 09:44:56 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 308EipDm028077 In-Reply-To: X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Sun, 8 Jan 2023 14:44:51 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:18853 Archived-At: On Sun, 08 Jan 2023, Zelphir Kaltstahl wrote: > On 12/31/22 21:31, Olivier Dion wrote: >> On Sat, 31 Dec 2022, Zelphir Kaltstahl wrote: >> >>> Maybe I can already make use of it in coming AoC puzzles. >> Any sort of feeback is welcome! > > Hello Olivier! > > May I ask how to make use of the library? I cloned the project onto my local > machine in a subfolder of a project, in which I want to use it. There are some > guix files in the guile-parallel repository, but I am unsure how to make use of > it as a guix package. I think there was a possibility to use local code as a > package in a guix shell, but I cannot find the info how to do it, so I tried the > following: I could publish the next revision to Guix! In the mean time, I think you can do the following from your root project directory: --8<---------------cut here---------------start------------->8--- guix shell \ --file=guile-parallel/.guix.scm \ --with-source=guile-parallel=guile-parallel --8<---------------cut here---------------end--------------->8--- You can replace `guix-shell' with `guix-build' to get the path where guile-parallel was built. Also you could copy the package definition of guile-parallel under guile-parallel/.guix.scm in your project tree somehwere. Then, you can use `--with-source=guile-parallel=https://git.sr.ht/~old/guile-parallel/archive/v1.0.0.tar.gz' to use release source. Hope that help! -- Olivier Dion oldiob.dev