From 0264f4a5dc37b16f872e6fa92bd8f1fc1e2b1826 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 23 Jul 2021 14:28:35 -0400 Subject: Automatically detect Haskell dependencies This parses the files contents for imports, then uses ghc-pkg to lookup the package that provides the module. Now I can do that analysis in Haskell instead of nix, which is much easier to code with. --- Hero/Host.hs | 33 --------------------------------- Hero/Node.hs | 10 ---------- 2 files changed, 43 deletions(-) (limited to 'Hero') diff --git a/Hero/Host.hs b/Hero/Host.hs index 6313ae5..7cc5986 100644 --- a/Hero/Host.hs +++ b/Hero/Host.hs @@ -15,39 +15,6 @@ -- | Hero web app -- -- : out mmc --- --- : dep acid-state --- : dep aeson --- : dep clay --- : dep containers --- : dep docopt --- : dep envy --- : dep http-types --- : dep ixset --- : dep lucid --- : dep miso --- : dep mtl --- : dep network-uri --- : dep protolude --- : dep rainbow --- : dep safecopy --- : dep servant --- : dep servant-auth --- : dep servant-auth-server --- : dep servant-lucid --- : dep servant-server --- : dep split --- : dep tasty --- : dep tasty-hunit --- : dep tasty-quickcheck --- : dep text --- : dep wai --- : dep wai-app-static --- : dep wai-extra --- : dep wai-middleware-metrics --- : dep warp --- : dep x509 --- : dep regex-applicative module Hero.Host ( main, ) diff --git a/Hero/Node.hs b/Hero/Node.hs index f08732f..11190e7 100644 --- a/Hero/Node.hs +++ b/Hero/Node.hs @@ -6,16 +6,6 @@ -- | Hero app frontend -- -- : out mmc.js --- --- : dep aeson --- : dep clay --- : dep containers --- : dep miso --- : dep protolude --- : dep servant --- : dep split --- : dep text --- : dep ghcjs-base module Hero.Node where import Alpha -- cgit v1.2.3