From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ULdKLu2woV9HPAAA0tVLHw (envelope-from ) for ; Tue, 03 Nov 2020 19:35:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +Dx+Ke2woV96KQAAB5/wlQ (envelope-from ) for ; Tue, 03 Nov 2020 19:35:09 +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 1A2B09402A8 for ; Tue, 3 Nov 2020 19:35:08 +0000 (UTC) Received: from localhost ([::1]:58340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ka25D-00050o-NN for larch@yhetil.org; Tue, 03 Nov 2020 14:35:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ka257-00050c-UK for guix-patches@gnu.org; Tue, 03 Nov 2020 14:35:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ka257-0007P5-LC for guix-patches@gnu.org; Tue, 03 Nov 2020 14:35:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ka257-0003dF-Hs for guix-patches@gnu.org; Tue, 03 Nov 2020 14:35:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44425] Add git-annex assistant and dependencies Resent-From: Christopher Lemmer Webber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Nov 2020 19:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44425 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: Cc: 44425@debbugs.gnu.org X-Debbugs-Original-Cc: 44425@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160443204813883 (code B ref -1); Tue, 03 Nov 2020 19:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Nov 2020 19:34:08 +0000 Received: from localhost ([127.0.0.1]:46486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ka24C-0003bo-CI for submit@debbugs.gnu.org; Tue, 03 Nov 2020 14:34:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:47034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ka24B-0003bh-Cf for submit@debbugs.gnu.org; Tue, 03 Nov 2020 14:34:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ka24A-0004wH-Aq for guix-patches@gnu.org; Tue, 03 Nov 2020 14:34:03 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:41632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ka247-0007Hs-SB for guix-patches@gnu.org; Tue, 03 Nov 2020 14:34:01 -0500 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id DA04126665; Tue, 3 Nov 2020 14:33:32 -0500 (EST) References: <878sbi9rbb.fsf@dustycloud.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Lemmer Webber In-reply-to: <878sbi9rbb.fsf@dustycloud.org> Date: Tue, 03 Nov 2020 14:33:06 -0500 Message-ID: <871rha9qx9.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2600:3c02::f03c:91ff:feae:cb51; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, MISSING_HEADERS=1.021, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.1 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.99 X-TUID: LfcYdX5RkcAL Just figured out that I also needed ghc-network-multicast. Trying with that. Christopher Lemmer Webber writes: > Attached is a highly WIP patch for the git-annex assistant (sloppily > includes the two dependencies that also need to be added, will separate > once I get it all working). However, it doesn't work... here's the > point at which it stopped working: > > [601 of 607] Compiling Assistant ( Assistant.hs, dist/build/git-an= nex/git-annex-tmp/Assistant.dyn_o ) > > Assistant.hs:73:55: warning: [-Wunused-matches] > Defined but not used: =E2=80=98listenhost=E2=80=99 > | > 73 | startDaemon assistant foreground startdelay cannotrun listenhost sta= rtbrowser =3D do > | ^^^^^^^^^^ > [602 of 607] Compiling Command.Watch ( Command/Watch.hs, dist/build/gi= t-annex/git-annex-tmp/Command/Watch.dyn_o ) > [603 of 607] Compiling Command.Assistant ( Command/Assistant.hs, dist/bui= ld/git-annex/git-annex-tmp/Command/Assistant.dyn_o ) > [604 of 607] Compiling CmdLine.GitAnnex ( CmdLine/GitAnnex.hs, dist/build= /git-annex/git-annex-tmp/CmdLine/GitAnnex.dyn_o ) > [605 of 607] Compiling Main ( git-annex.hs, dist/build/git-an= nex/git-annex-tmp/Main.dyn_o ) > [606 of 607] Compiling Assistant.Pairing.Network ( Assistant/Pairing/Netw= ork.hs, dist/build/git-annex/git-annex-tmp/Assistant/Pairing/Network.dyn_o ) > > Assistant/Pairing/Network.hs:20:1: error: > Could not find module =E2=80=98Network.Multicast=E2=80=99 > Use -v to see a list of the files searched for. > | > 20 | import Network.Multicast > | ^^^^^^^^^^^^^^^^^^^^^^^^ > > Assistant/Pairing/Network.hs:21:1: error: > Could not load module =E2=80=98Network.Info=E2=80=99 > It is a member of the hidden package =E2=80=98network-info-0.2.0.10= =E2=80=99. > Perhaps you need to add =E2=80=98network-info=E2=80=99 to the build-d= epends in your .cabal file. > Use -v to see a list of the files searched for. > | > 21 | import Network.Info > | ^^^^^^^^^^^^^^^^^^^ > command "runhaskell" "Setup.hs" "build" "--ghc-option=3D-j8" failed with = status 1 > > I'm unsure why it would be failing since I did add network-info to the > inputs. Any ideas? > >>>From 092183597b503ef349401a99ce1e981f4b3d29ba Mon Sep 17 00:00:00 2001 > From: Christopher Lemmer Webber > Date: Tue, 3 Nov 2020 14:21:51 -0500 > Subject: [PATCH] Git annex assistant wip > > --- > gnu/packages/haskell-apps.scm | 6 +++++- > gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++ > 2 files changed, 26 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm > index 1de8b040f1..e3f0ed01f5 100644 > --- a/gnu/packages/haskell-apps.scm > +++ b/gnu/packages/haskell-apps.scm > @@ -350,7 +350,7 @@ to @code{cabal repl}).") > (build-system haskell-build-system) > (arguments > `(#:configure-flags > - '("--flags=3D-Android -Assistant -Pairing -Webapp") > + '("--flags=3D-Android -Pairing -Webapp") > #:phases > (modify-phases %standard-phases > (add-before 'configure 'patch-shell-for-tests > @@ -449,6 +449,7 @@ to @code{cabal repl}).") > ("ghc-cryptonite" ,ghc-cryptonite) > ("ghc-data-default" ,ghc-data-default) > ("ghc-dav" ,ghc-dav) > + ("ghc-dbus" ,ghc-dbus) > ("ghc-disk-free-space" ,ghc-disk-free-space) > ("ghc-dlist" ,ghc-dlist) > ("ghc-edit-distance" ,ghc-edit-distance) > @@ -457,6 +458,7 @@ to @code{cabal repl}).") > ("ghc-feed" ,ghc-feed) > ("ghc-filepath-bytestring" ,ghc-filepath-bytestring) > ("ghc-free" ,ghc-free) > + ("ghc-hinotify" ,ghc-hinotify) > ("ghc-hslogger" ,ghc-hslogger) > ("ghc-http-client" ,ghc-http-client) > ("ghc-http-conduit" ,ghc-http-conduit) > @@ -466,7 +468,9 @@ to @code{cabal repl}).") > ("ghc-memory" ,ghc-memory) > ("ghc-monad-control" ,ghc-monad-control) > ("ghc-monad-logger" ,ghc-monad-logger) > + ("ghc-mountpoints" ,ghc-mountpoints) > ("ghc-network" ,ghc-network) > + ("ghc-network-info" ,ghc-network-info) > ("ghc-old-locale" ,ghc-old-locale) > ("ghc-optparse-applicative" ,ghc-optparse-applicative) > ("ghc-persistent" ,ghc-persistent) > diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm > index 43dc7d5bbf..24be3ce5bc 100644 > --- a/gnu/packages/haskell-xyz.scm > +++ b/gnu/packages/haskell-xyz.scm > @@ -15416,3 +15416,24 @@ Zstandard compression algorithm, a fast lossless= compression algorithm > targeting real-time compression scenarios at zlib-level and better > compression ratios.") > (license license:bsd-3))) > + > +(define-public ghc-mountpoints > + (package > + (name "ghc-mountpoints") > + (version "1.0.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://hackage.haskell.org/package/mountpoints/mountpoint= s-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "1hnm31pqcffphyc463wf0vbik9fzm5lb2r4wjdc1y4dqzmjdzz37")))) > + (build-system haskell-build-system) > + (home-page > + "http://hackage.haskell.org/package/mountpoints") > + (synopsis "list mount points") > + (description "Lists currently mounted filesystems. . Works on: Linux= , BSD, Mac OS X, Android") > + (license license:lgpl2.1+)))