From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Dealing with environment settings on a non-Guix distribution Date: Fri, 10 Feb 2017 09:01:22 +0000 Message-ID: <20170210090122.GA30408@mail.thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc78D-00014Q-8z for guix-devel@gnu.org; Fri, 10 Feb 2017 04:04:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cc78A-0001Hq-4o for guix-devel@gnu.org; Fri, 10 Feb 2017 04:04:41 -0500 Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel Dear Ricardo, @FOSDEM one thing came up that we ought to make it easier to handle environment settings (shell variables). Yesterday, I had to help somenone use R and install some packages in $HOME. This proved quite hairy. Mostly because we needed to tell R about certificates in /etc/ssl, change the native download from curl to wget, and to tell R about library paths for dependencies on openssl, for example. Not something you'd like a non-guixer try to figure out. For Ruby I created a script in https://github.com/pjotrp/guix-notes/blob/master/scripts/ruby-guix-env (actually it is out of date, I also deal with certificates). I think we can have more of these 'environment' managing scripts. Can we somehow get them into Guix? Maybe create a separate package for each of them - say ruby-guix-env and r-guix-env? It would help bootstrap people using Guix for R, ruby and other languages. Pj.