From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 15 04:59:10 2021 Received: (at 47335-done) by debbugs.gnu.org; 15 Sep 2021 08:59:10 +0000 Received: from localhost ([127.0.0.1]:50858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQQl3-0001GS-Sk for submit@debbugs.gnu.org; Wed, 15 Sep 2021 04:59:10 -0400 Received: from mail-qv1-f46.google.com ([209.85.219.46]:46006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQQl2-0001G8-Ah; Wed, 15 Sep 2021 04:59:08 -0400 Received: by mail-qv1-f46.google.com with SMTP id w9so1406834qvs.12; Wed, 15 Sep 2021 01:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+7vtm2CcQ2DAB1mH+RTkzIDAilKTy4pQ0+jjUfUs7iM=; b=Qd9xKdj0+r9w3he0DNvJT6RX9aYEXEaJnC53vUWohU4UjueZ24EjL9umEvyk8wx5yF imnbqrjw/FF/AjPGzOPHWOxI8M83NxFKxrQGSDl4X3S+UDChZL7ZQcIjVnS3klgCLOct S4Gh/aSrJGG/L+sJc9DGCpyTzlLQRuMi4W3rpc9KwmSSUX++HCUCFBDaHAcXfxadetcy 1OWmmmANM4075wY8E0oDpPdSZtaCNTTt3gdehiFZ/surSP6a/fvo45kvwML6pmWRA2BD 8wmM3KdXIXnSmk8XSSM+WwKGNVfSWL4A2o3L5sQKvIa/yG6DjIisWgu2HLNXT81fwIiu XIBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+7vtm2CcQ2DAB1mH+RTkzIDAilKTy4pQ0+jjUfUs7iM=; b=XOkfq0hrcHAg7HotNyNq5t34m6p9TsHR9BWo3oM2/FgLbtgPz2COuA7AoxON6xNFNY pRHiZqNCP16ugQVTFHRyN5a/r+SkzR0aCnj/lZKUcRNsXgQ0C2MN/ub2zoILhDntWrCx L29zAq1WvDPFv6tc+C56uFXqopVorzMwQ1omuiuNLqWpxFqhIWytWM+FdRAJ3dDGZ9Jc CeTFeeIIT6W4dPAJ3CZYpYSJNfmLTPo5v2Sxz445a5YHK0bvXSSuposzLdHxioHssQhd 2ptfLNHUqBgYfj3cTvwcxOh7g2PZ14OCHorehK29hwcdUYVtQSR1h7HT9tFfrLOXaBjM 16OA== X-Gm-Message-State: AOAM532OT+2gR+m5byT6qG0rzbszjSKKqZjNP+1Qu5G/lCKg3o0/Y0ty GaVCBOUDgeQ8ngkIjlqDgHMWllfwauDyaDV43KKJ+bbO X-Google-Smtp-Source: ABdhPJxjkbge9wOKWYZdSPXcGL1W0Pli9l+R1ad4eycoQwN8mNE+U/GNqrKK7JKCPVHPiOKWkPB+kBEEWZ//5jXLI7Y= X-Received: by 2002:a0c:8d0f:: with SMTP id r15mr9692710qvb.1.1631696342564; Wed, 15 Sep 2021 01:59:02 -0700 (PDT) MIME-Version: 1.0 References: <20210801195135.49063b16@riseup.net> In-Reply-To: From: zimoun Date: Wed, 15 Sep 2021 10:58:51 +0200 Message-ID: Subject: Re: bug#47335: Hide GHC not used for building Was: xmonad fails to recompile on guix system To: 47335@debbugs.gnu.org, Lars-Dominik Braun , ruppe.charlie@gmail.com Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47335-done Cc: raingloom , 47335-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Wed, 15 Sept 2021 at 09:43, Lars-Dominik Braun wrote: > > I'd be very much in favor of the latter, or maybe rename it to ghc-next. > > I have some profiles ghc pinned to a version and upgrading those is > > always a mess because Guix tries to build the old version from source > > instead of using the next version. > > I renamed ghc@8.8 to ghc-next in commit > 39b43d0d0428474a1d0bf58779d0135163b9c6e3. Well, I am late to the party and probably out of point but I think this '-next' is not something we should introduce and generalize. Well, who knows if these '-next' will be the real next. ;-) My comment is also about guile-next, emacs-next and python-next. Noting that gcc-toolchain does not have a '-next'; packages are built using 7.5.0 but "guix install gcc-toolchain" will install 11.2.0 and then it could lead to the same issue as the one reported with GHC, I guess. Instead of this '-next' trick, we should find a better mechanism where "guix install ghc" would install the default GHC used by the Haskell build-system. Idem for the others guile-next, python-next etc.. And any other version should be installed using the explicit mention, i.e., "guix install ghc@8.8", IMHO. Cheers, simon