From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oITJOWqpf2CSPQAAgWs5BA (envelope-from ) for ; Wed, 21 Apr 2021 06:26:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ML+ANWqpf2DJfQAA1q6Kng (envelope-from ) for ; Wed, 21 Apr 2021 04:26:18 +0000 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 6072512816 for ; Wed, 21 Apr 2021 06:26:18 +0200 (CEST) Received: from localhost ([::1]:53236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZ4RL-0007QD-Ej for larch@yhetil.org; Wed, 21 Apr 2021 00:26:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZ4Lf-000713-VG for help-guix@gnu.org; Wed, 21 Apr 2021 00:20:24 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:43695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZ4Ld-0006Q9-5P for help-guix@gnu.org; Wed, 21 Apr 2021 00:20:23 -0400 Received: by mail-pf1-x429.google.com with SMTP id p67so22515451pfp.10 for ; Tue, 20 Apr 2021 21:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version; bh=Y9jM7t+QQp+lXKdUVBFjsDhB3WDfxI3LL9cwnnYL9G8=; b=N6G7EVfRPtYo7L8kziBGzV/FiwZJUfsxtKdpmLv5OQRZqixmHVdx83fe1zpQQo+uvC 1lc1jSQ8AssfiddZjNCpnTiB+oFfXXgy3DZewe2s2M81WW9hUblZ8AlzPQcB1/NXcpBg 9H9zx5YBs9U2SpT28D8eY4bxhAMj49ciPKT+f+5NaQmlbu398MnZDNAa57p8SQsAN4zp Nf6Xo1LcUOresjODUvpqpAE/bYyeSY0V6K6uIirNlX4rAvpV8ZWlNX7rPaSaLGbVne1u Zw8GA7NgPfblsjTulqf/QAhq9UxlblUg5VvDcoLHvUsJ2O3I+csKYeqo4amo5HxQepUg YfNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version; bh=Y9jM7t+QQp+lXKdUVBFjsDhB3WDfxI3LL9cwnnYL9G8=; b=uXnPh4wKJPBy07vDluk9xmBd/R1iBlrgtz5FznXq1TDq+rOWeBQBvEbOByts30UqF7 zrg6O7ZcQyHKChY2b7sdEA6iT7usEicYsyy0FbJyyzocFjf1udYl3UqtiQ1+055Ngwiq /edV0jsum2clsj9DvK6QH1PZW7jjdZhYmjaCC1UINHuM0k4d6ay/FnPgyahe2LzNxaiF dBmRXnguvnN+mfdSgX9BzNquQXBFtjFOO0BdUX2WWSfa899AIkE98wqy5YMi07v33MDy klnH1crtDgCm26IQ+ds8cu5NpfXFHVCzm9JxWLRp1WcKOBu/lJVqmUl88rQTB4E0nTv0 J8tg== X-Gm-Message-State: AOAM533ZQTardEWa7wp3FEQPv/ZmXtVSjzc8fOqfdNeaEEs3VpnkAeyL Nu14KQgfeZ9cSNnOVqaQS3g1WQ== X-Google-Smtp-Source: ABdhPJz+3MSG2QuAOvADKird0Kt4r4wzVzjIu7gSX6uKzjN81jXTdOUviUBDuhTWzCvb/uWba1dfSw== X-Received: by 2002:a17:90b:34c:: with SMTP id fh12mr8563391pjb.114.1618978818134; Tue, 20 Apr 2021 21:20:18 -0700 (PDT) Received: from [2603:8001:3c01:90b6:b062:9c83:200:0] (2603-8001-3c01-90b6-392a-843a-63f6-5974.res6.spectrum.com. [2603:8001:3c01:90b6:392a:843a:63f6:5974]) by smtp.gmail.com with ESMTPSA id z62sm437385pfb.110.2021.04.20.21.20.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Apr 2021 21:20:17 -0700 (PDT) Date: Tue, 20 Apr 2021 21:20:16 -0700 From: John Soo To: William , Oleg Pykhalov Message-ID: <78b102c6-7199-4060-9783-789b33d4607a@Canary> In-Reply-To: <878s5cmgmn.fsf@gmail.com> References: <878s5cmgmn.fsf@gmail.com> Subject: Re: xmonad, xmonad-contrib & GHC_PACKAGE_PATH? MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=jsoo1@asu.edu; helo=mail-pf1-x429.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618979178; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qHMmVSHZ9H7GJLVVh0rIP56+bbGDkjq5fUos7Pskbs0=; b=OWJ4XWb2AutxGPyqZ8h5l0JDCSqPF1bAQu5nbAM6s29OUVGE2t1ZijHQB3sEQpod/frOu/ H76tFHIp3SP53BW3VQP1SjmMkF2FX2Fcg43DMvbWz1wbxBXAuQ2v9nZK/ruevcmcS5la3M Rh8BbF0ABVZ+A+T2W1fRxbh2BnQiN5dltck8RMfIqFVG8kzLSnH8YCug2+ZpmIvdnZadSJ Q4VGE8xqKvfbPWSIOGQcYieP3tFGiwI7KKtjhAuxf5c/ZkbJNDldy9x32g+E1l4f6sytlq 5NuSr0oD2MkT7Mf0/3DpYNLWx9Hyv/LiTQ6/h/s0V0XW0+F5kMvRbpTh92GJ1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618979178; a=rsa-sha256; cv=none; b=tlEp3zJN7tIk/vVrSrr0aG3ss441yWJ6AEveWCaTJl88oJGVc8qKPCe/jMGb4ewhCaropc umfvP+sVfSNX9vuAPiHVv72V78C0moDQrFoqYpzX8ILUgysgPDBighz+cK1Ud5hbyZ+HCY xVUdTcfkJGGIIJXm6jvUivghIXH6b7U+qBPmX6J48WNSzTDrooJ7XKI+m8yeuW4I41gbEO FHmbMeh58zOuHCd8BvemXrpP5CqNi6xLtYFHwB7NwsHw7EJlU26wc0wl6MbOMzeoBVUr6+ 405CCUAItY31C49gtOlWProf4Bchi7C9E0yOosew/Bjsh5855TSMzofeSD+Czg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=asu-edu.20150623.gappssmtp.com header.s=20150623 header.b=N6G7EVfR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=asu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: 0.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=asu-edu.20150623.gappssmtp.com header.s=20150623 header.b=N6G7EVfR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=asu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 6072512816 X-Spam-Score: 0.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: fn9um9S5HlaL Hello, I thought I had opened an issue about this but I must have kept it in my = TODOs. The haskell-build-system does not put outputs in the right place f= or the ghc profile hook. xmonad --recompile should Just Work with any ins= talled haskell-build-system libraries installed via guix. I=E2=80=99ve be= en meaning to look at this for a while but I have not had the chance. Cou= ld you please open a fresh issue=3F The workaround is to do this (altering for your host system and required = libraries): ghc -o =7E/.xmonad/xmonad-x86=5F64-linux =5C -package-db =24(guix build ghc-xmonad-contrib =7C grep -v static)/lib/ghc= -8.6.5/ghc-xmonad-contrib-0.16.conf.d/ =5C -package-db =24(guix build ghc-dbus =7C grep -v static)/lib/ghc-8.6.5/ghc= -dbus-1.2.7.conf.d/ =5C -package-db =24GUIX=5FPRO=46ILE/lib/ghc-8.6.5/package.conf.d/ =5C -dynamic xmonad.hs Hope that helps, John