From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mekeor Melire Subject: unset GHC_PACKAGE_PATH for cabal-install Date: Sat, 21 Jan 2017 03:21:57 +0100 Message-ID: <20170121032157.12a6bf42@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUlJb-00082d-RN for help-guix@gnu.org; Fri, 20 Jan 2017 21:22:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUlJa-00062D-S6 for help-guix@gnu.org; Fri, 20 Jan 2017 21:22:03 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:32940) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUlJa-00061o-MS for help-guix@gnu.org; Fri, 20 Jan 2017 21:22:02 -0500 Received: by mail-wm0-x242.google.com with SMTP id r144so10851497wme.0 for ; Fri, 20 Jan 2017 18:22:02 -0800 (PST) Received: from localhost ([2a02:8070:d294:7c00:9ade:d0ff:fe15:14cb]) by smtp.gmail.com with ESMTPSA id c187sm8675981wmd.13.2017.01.20.18.22.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Jan 2017 18:22:01 -0800 (PST) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org How to use cabal-install in GuixSD? `cabal install` leads to an error saying its incompatible with GHC_PACKAGE_PATH variable: $ cabal install hascal Config file path source is default config file. Config file /home/mekeor/.cabal/config not found. Writing default configuration to /home/mekeor/.cabal/config cabal: Use of GHC's environment variable GHC_PACKAGE_PATH is incompatible with Cabal. Use the flag --package-db to specify a package database (it can be used multiple times). So, my question is: Is it fine, to just temporarily `unset GHC_PACKAGE_PATH` variable before running cabal-install? What's the disadvantage?