From owner-freebsd-haskell@freebsd.org Sat Aug 31 08:30:09 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B4E2ECA4FB for ; Sat, 31 Aug 2019 08:30:09 +0000 (UTC) (envelope-from sales@printtop-pcb.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46L8fn3jhHz4FH2 for ; Sat, 31 Aug 2019 08:30:09 +0000 (UTC) (envelope-from sales@printtop-pcb.com) Received: by mailman.nyi.freebsd.org (Postfix) id 7F3E0CA4F5; Sat, 31 Aug 2019 08:30:09 +0000 (UTC) Delivered-To: haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7F04CCA4F4 for ; Sat, 31 Aug 2019 08:30:09 +0000 (UTC) (envelope-from sales@printtop-pcb.com) Received: from out29-123.mail.aliyun.com (out29-123.mail.aliyun.com [115.124.29.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46L8fm3Nz1z4FH0 for ; Sat, 31 Aug 2019 08:30:07 +0000 (UTC) (envelope-from sales@printtop-pcb.com) X-Alimail-AntiSpam: AC=SUSPECT; BC=0.5998856|-1; BR=01201311R131b1; CH=blue; DM=SPAM|SUSPECT|true|0.942123-0.0238683-0.0340092; FP=8331495181479133683|14|2|12|0|-1|-1|-1; HT=e01a16368; MF=sales@printtop-pcb.com; NM=1; PH=DS; RN=1; RT=1; SR=0; TI=SMTPD_---.FMCGGCv_1567240204; Received: from PC-02(mailfrom:sales@printtop-pcb.com fp:SMTPD_---.FMCGGCv_1567240204) by smtp.aliyun-inc.com(10.147.40.200); Sat, 31 Aug 2019 16:30:05 +0800 Message-ID: <20190831163104135.sales@printtop-pcb.com> MIME-Version: 1.0 From: "Alice" To: "Haskell" Reply-To: alice@topfastpcb.com Date: 31 Aug 2019 16:31:04 +0800 Subject: To Haskell /Goods news for you16:31:01 X-Rspamd-Queue-Id: 46L8fm3Nz1z4FH0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sales@printtop-pcb.com designates 115.124.29.123 as permitted sender) smtp.mailfrom=sales@printtop-pcb.com X-Spamd-Result: default: False [-2.82 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[alice@topfastpcb.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:115.124.29.0/24:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[printtop-pcb.com]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MANY_INVISIBLE_PARTS(0.05)[1]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.954,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[123.29.124.115.list.dnswl.org : 127.0.15.0]; IP_SCORE(-0.62)[ipnet: 115.124.24.0/21(-1.22), asn: 37963(-1.89), country: CN(0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:37963, ipnet:115.124.24.0/21, country:CN]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Aug 2019 08:30:09 -0000 =0D=0AHiHaskell=0D=0AI am Alice from Topfast Electronic Ltd.We ar= e a professional and reliable one-stop PCB solutions provider for= customers =0D=0Aspecialized in manufacturing quick turn prototyp= es and small volumes.Our products include HDI board, heavy copper= board, =0D=0Abackplane board, semiconductor test board, high fre= quency board and rigid-flex board, etc., to meet customers' vario= us demand.=0D=0AThese products are widely used in communication, = medical equipment, industrial control, power supply, consumer ele= ctronics and aerospace, automobile industry, etc.If you have PCB = demand, please contact me and send me quotation.=0D=0A=0D=0AThank= s &Best Regards,=0D=0AAlice Lee=0D=0AOversea Marketing SalesM= obile: +8617702089421=0D=0ATopfast Electronic Ltd=0D=0A=0D=0A=0D=0A= =20 From owner-freebsd-haskell@freebsd.org Sat Aug 31 17:34:40 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDCF8D77CE for ; Sat, 31 Aug 2019 17:34:40 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46LNl453yjz3DpT for ; Sat, 31 Aug 2019 17:34:40 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id ADD81D77CD; Sat, 31 Aug 2019 17:34:40 +0000 (UTC) Delivered-To: haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AD9A7D77CC for ; Sat, 31 Aug 2019 17:34:40 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46LNl342Y9z3DpR for ; Sat, 31 Aug 2019 17:34:39 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pl1-x629.google.com with SMTP id bj8so4771731plb.4 for ; Sat, 31 Aug 2019 10:34:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oOO/afS4Ce6tei6fHeLikkkYSJdvTZ7iu1GN7zMq/EQ=; b=u58LTymAYtR4qNIYy/6APWpE5V+IxqMmGsJczx20+c3xVIW7GnLPCLnHjYEshow9IX /AWkHAxUyPdYiSdszWkbmndXhc0iHoH/0Y2jNJvhuL9rURKq5N7wjKzihrWJ0lvEaRZb gtVVIVGE6MnnlqRT1aUG/JMlcbJrnGuTBGBZI7/p5gjjPlRR5jvub7oPZ/39qrNCBxcz TkYSPjsKD1GchCZ8pEjwlGRg87lTHGa+eTr3d2sxTvGVkq1g3yJ3E6R2q+UB9tdNZ5c7 cDbi4dE9OsGpq7YuLg2HUWGjsQLYDSLADNr213lsu1x0oiUOJJJ9nnHz+Pgo1o8LvQHx 4pqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oOO/afS4Ce6tei6fHeLikkkYSJdvTZ7iu1GN7zMq/EQ=; b=rNSURhN7usc5rUAdvODzQQgkVkTe6FrxS294HX7U7Htk8QxxUK5m2Y0Jz0+hDnrzm2 vLKuoMbnkNND7aApM6pKBuDvJO4V/u3WOhSgVB8btidx5ioGcpqEJPth1Aa1IJuRPeqd W0pPF7NhcLRJz5/cGDkyXL96148TKbYDQ+RDNv7InflNP2TtZRceaiZWFKOhMI8WqvoV zEC9F+M8RsgLGoOysbWzsTNqPy6BfnD0Ep7JvaT6+sXnEWJYFOwi84RL06w6tajyy8V+ FGMBL++EOzYokyfcVrRwfOYoDHYFImKy2z/2Oye5hvr28UM07sq6sC+BTGYhVaPDZbf4 u7+A== X-Gm-Message-State: APjAAAXc73hVyjuVlQmvFLGqBMiuy3e6fByqHlDTqwe+jv8IoeuLyrLs hH4oa2TIkYIDmnY9NbnIiJC/VJp8niTTlZOmbxY= X-Google-Smtp-Source: APXvYqwPLdAuF6N5SPslU0++SbYAtSP7iZ80MahluWCn2z5JjZrWttX/z/JWcpKRDuKZO89lQ+KaY9yZamrNIeFTgNM= X-Received: by 2002:a17:902:bd87:: with SMTP id q7mr5128477pls.57.1567272877870; Sat, 31 Aug 2019 10:34:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Gleb Popov <6yearold@gmail.com> Date: Sat, 31 Aug 2019 21:34:11 +0400 Message-ID: Subject: Re: xmonad --recompile is broken with cabal change To: Kevin Zheng Cc: haskell@freebsd.org X-Rspamd-Queue-Id: 46LNl342Y9z3DpR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=u58LTymA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 2607:f8b0:4864:20::629 as permitted sender) smtp.mailfrom=6yearold@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.995,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.12), ipnet: 2607:f8b0::/32(-2.83), asn: 15169(-2.31), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[haskell@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[9.2.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Aug 2019 17:34:41 -0000 On Wed, Aug 28, 2019 at 9:28 AM Kevin Zheng wrote: > Hi there, > > Sometime between a while ago and now (probably around the time of some > cabal changes), `xmonad --recompile` stopped working: > > xmonad.hs:1:1: error: > Could not find module =E2=80=98XMonad=E2=80=99 > > This is because the XMonad files are being installed to > /usr/local/lib/cabal/ghc-8.6.5 instead of the usual > /usr/local/lib/ghc-8.6.5. > > Now, xmonad does provide a register.sh, but this needs to be run on all > the dependencies in order to correctly register with ghc-pkg. > > Is it reasonable to update the ports infrastructure to run ghc-pkg > registration on all installed cabal packages? > > (Please CC me as I'm not on the list in your reply.) > > Thanks, > Kevin > > -- > Kevin Zheng > kevinz5000@gmail.com | kevinz@berkeley.edu > XMPP: kevinz@eecs.berkeley.edu > _______________________________________________ > freebsd-haskell@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-haskell > To unsubscribe, send any mail to "freebsd-haskell-unsubscribe@freebsd.org= " > I just tried out `xmonad --recompile` in FreeBSD 12 jail and it worked fine with sample config. Despite xmonad package ending up in /usr/local/lib/cabal/ghc-8.6.5, it is listed in `ghc-pkg list` output. Have you tried reinstalling the package or GHC itself?