From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qE2EK48Y42XT/AAAqHPOHw:P1 (envelope-from ) for ; Sat, 02 Mar 2024 13:16:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id qE2EK48Y42XT/AAAqHPOHw (envelope-from ) for ; Sat, 02 Mar 2024 13:16:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zancanaro.id.au header.s=k1 header.b="F/Z3ZZu3"; 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"; dmarc=pass (policy=none) header.from=zancanaro.id.au ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709381775; 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=PeEQzBv2rhYnuTSBRB/qaGE49oEHmirfWRtXZiPysGg=; b=PnRgYoC3g8b7mUaX4TTct7oqtGlHPpWilk/53NOwdVL9kO5kZYrtKd6Y3AxBwIpnKMQcNt aFQ4+znMhwh6xsrdSeKuEwTl2enaRO+hDF/wup637LUTVmCo37qnvZX85ZvXw9EUmFiTQC INyIHpNe222a1NDBxY3HTJXOhiOgvXA9Ip+UuZ79LurV70LRXsv+g4+qZgwlNGNUUJOyNO vSpJFA+G4PBk2SYMOlIeA+yUO3rSf+iOY6ptGccCupT925IwHhJtLxxG2PIdBrrc4Nr8qk E3dZC4SMVnIPo+G62nCgv7omuPD60NUaODBTswePpkzMzHH/A3mj8Nqe+99Czg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=zancanaro.id.au header.s=k1 header.b="F/Z3ZZu3"; 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"; dmarc=pass (policy=none) header.from=zancanaro.id.au ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709381775; a=rsa-sha256; cv=none; b=aIzW25rGq+zCDhg6OGgGqvBcKpLaLdn3TB3oXmJJ4R5A5uzcvhBZMjTUWOO0UtQn39cY7g v1NeAg0AO8YxDByZAuwlm1yAvMniT0qyRkitSIprSdNU0rfO/RSLiY2WuB2yckVk8GfKdh amUZ29pjnHgY3Xf3MIYJJ3376JIOekhfozrjwFST8qP+bwA1a7RAGmLqre/ixlANIYbj6/ 54MTLcraqP12gejPs640ssb7v0xn+FYxINbZaXnfugc1EckBlxAS8/dCmzFPzWZ5/gc9cx 7Z11yw9ytmJOYuLN5Njb9fSbJBPbrQhEd93jyzV6GLtOR7gnIFqUnIDnZc/74Q== 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 8E0F134223 for ; Sat, 2 Mar 2024 13:16:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgOHI-0005jO-Uf; Sat, 02 Mar 2024 07:15:44 -0500 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 1rgOHG-0005iX-IY for help-guix@gnu.org; Sat, 02 Mar 2024 07:15:42 -0500 Received: from voltorb.zancanaro.id.au ([45.77.50.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgOHD-00033b-KC for help-guix@gnu.org; Sat, 02 Mar 2024 07:15:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=PeEQzBv2rhYnuTS BRB/qaGE49oEHmirfWRtXZiPysGg=; h=date:references:in-reply-to:subject: cc:to:from; d=zancanaro.id.au; b=F/Z3ZZu3HLmAmtavwOF/dvNTReV3yvneIjXOt txqGsZRgCpk7fxgJiTMdBmJFXmvhf78JXLJ953DQnkRPi8wyd2BXtLOwJt7P2XEO1DE4r2 oehj5UIkdvouuVyuGOUZQ22HY4t/gJQHQR2yEeCRrq+LAyFCp2qw5vkqSii5Np3U= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id 5a3a6d9f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 2 Mar 2024 12:15:27 +0000 (UTC) From: Carlo Zancanaro To: Daniel Littlewood Cc: help-guix@gnu.org Subject: Re: Turning Gemfile.lock into a guix environment In-Reply-To: (Daniel Littlewood's message of "Tue, 27 Feb 2024 23:57:59 +0000") References: Date: Sat, 02 Mar 2024 23:15:31 +1100 Message-ID: <87msrgj0d8.fsf@zancanaro.id.au> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=45.77.50.64; envelope-from=carlo@zancanaro.id.au; helo=voltorb.zancanaro.id.au 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.73 X-Spam-Score: -9.73 X-Migadu-Queue-Id: 8E0F134223 X-TUID: 9Cayd8KvsjVu Hi Daniel, On Tue, Feb 27 2024, Daniel Littlewood wrote: > Hi everyone, I'm trying to figure out how to convert a Ruby project > from using bundler to using guix directly, so I can sidestep > rvm/rbenv/bundle. I'm not aware of a solution to this in Guix, but there is a Nix-based solution: bundix[1]. I use the Nix service on my Guix system so I can use a Nix environment to manage my Ruby dependencies. My setup is similar to what is described in the Nix manual[2]. One thing to keep in mind with this is that the Guix packages written by the importer might not work without modification. Nix maintains a list of modifications required for automatically imported packages to build[3]. Presumably there would need to be something similar for Guix. I haven't seriously investigated what it would take to generate Guix environments from Ruby Gemfiles, but I would definitely be interested in using this feature if it existed. Carlo [1]: https://github.com/nix-community/bundix [2]: https://nixos.org/manual/nixpkgs/stable/#developing-with-ruby [3]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/ruby-modules/gem-config/default.nix