From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Soo Subject: Re: How to make sure ghc uses installed packages? Date: Tue, 17 Sep 2019 14:09:36 +0000 Message-ID: References: <945a039b68fc1bf0582b8eb1feb3fe3909d2000f.camel@gmail.com> <68B49FDD-A221-4E8D-B385-D483DB52E6CD@asu.edu> <2d89fac1d7f27dada3ab161b69fa1a361485ad89.camel@gmail.com> <44acf44c19cef875af987dcda1a393b00b0d2c22.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50169) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAEAw-00051v-9M for help-guix@gnu.org; Tue, 17 Sep 2019 10:09:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAEAu-0006oB-E1 for help-guix@gnu.org; Tue, 17 Sep 2019 10:09:49 -0400 Received: from mail-ua1-x930.google.com ([2607:f8b0:4864:20::930]:44775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iAEAu-0006no-2D for help-guix@gnu.org; Tue, 17 Sep 2019 10:09:48 -0400 Received: by mail-ua1-x930.google.com with SMTP id n2so1142814ual.11 for ; Tue, 17 Sep 2019 07:09:47 -0700 (PDT) In-Reply-To: <44acf44c19cef875af987dcda1a393b00b0d2c22.camel@gmail.com> 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: Jesse Gibbons Cc: help-guix mailing list Hi Jesse, > Why did ghc-random and ghc-regex-compat only work with ghc 8.4.3? RIght now, most - if not all - ghc packages are built with ghc@8.4.3. GHC will check the version it was compiled with and refuse to compile if there is a mismatch between the object file and your project. Now that I say that, I am not sure I am right. I get version mismatches compiling xmonad, for instance, when i upgrade ghc to 8.6. It would be really nice to get more packages up to 8.6. One solution might be to use a channel with package definitions using your preferred version of ghc. One other problem I can think of is that the current ghc is 8.6 but most ghc-* packages are built with 8.4 so most packages are incompatible with the default. - John