Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,38 @@ packages:
source-repository-package
type: git
location: https://github.com/josephsumabat/tree-sitter-simple.git
tag: 64f8a19b7e65a4a572770a92085f872caf212833
tag: d388baf38d5548469f805dd80f004ca6de26cc24
subdir: tree-sitter-simple

source-repository-package
type: git
location: https://github.com/josephsumabat/tree-sitter-simple.git
tag: 64f8a19b7e65a4a572770a92085f872caf212833
tag: d388baf38d5548469f805dd80f004ca6de26cc24
subdir: tree-sitter-haskell

source-repository-package
type: git
location: https://github.com/josephsumabat/tree-sitter-simple.git
tag: 64f8a19b7e65a4a572770a92085f872caf212833
tag: d388baf38d5548469f805dd80f004ca6de26cc24
subdir: tree-sitter-ast

source-repository-package
type: git
location: https://github.com/josephsumabat/tree-sitter-simple.git
tag: 64f8a19b7e65a4a572770a92085f872caf212833
tag: d388baf38d5548469f805dd80f004ca6de26cc24
subdir: haskell-ast

source-repository-package
type: git
location: https://github.com/josephsumabat/tree-sitter-simple.git
tag: 64f8a19b7e65a4a572770a92085f872caf212833
tag: d388baf38d5548469f805dd80f004ca6de26cc24
subdir: text-range

source-repository-package
type: git
location: https://github.com/josephsumabat/haskell-arborist
tag: fcd4db468d7766d3cdb067eaa2ef1170275fee37

source-repository-package
type: git
location: https://github.com/oberblastmeister/tasty-expect.git
Expand Down
3 changes: 2 additions & 1 deletion expect_tests/HirTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ module HirTest where
import AST.Haskell qualified as H
import Data.Text qualified as T
import Data.Text.Lazy qualified as TL
import Hir.Parse qualified as Hir
import Hir.Types qualified as Hir
import NeatInterpolation
import StaticLS.Hir qualified as Hir
import Test.Tasty
import Test.Tasty.Expect
import Text.Pretty.Simple qualified as Pretty
Expand Down
2 changes: 1 addition & 1 deletion expect_tests/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Test.Tasty.Expect

main :: IO ()
main = do
defaultMainWithIngredients (expectIngredient : defaultIngredients) tests
-- defaultMainWithIngredients (expectIngredient : defaultIngredients) tests
pure ()

tests :: TestTree
Expand Down
15 changes: 13 additions & 2 deletions nix/overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@
let
tree-sitter-simple-repo = {
url = "https://github.com/josephsumabat/tree-sitter-simple";
sha256 = "sha256-Taje8q2fYZzA68sSt8f9/oCDdYjTWegfoYusQtmrz8A=";
rev = "64f8a19b7e65a4a572770a92085f872caf212833";
sha256 = "sha256-EpSbOb2+w/EOvr3nWQinA4lorv/Tqpz37LtngMLjEAM=";
rev = "d388baf38d5548469f805dd80f004ca6de26cc24";
fetchSubmodules = true;
};

haskell-arborist-repo = {
url = "https://github.com/josephsumabat/haskell-arborist";
sha256 = "sha256-i9RechtvGAFvR1JxOCisWAFVCK2TYnTMVxg3ak9RWJk=";
rev = "fcd4db468d7766d3cdb067eaa2ef1170275fee37";
fetchSubmodules = true;
};

Expand All @@ -20,6 +27,10 @@ in

haskellPackages = super.haskell.packages.${self.ghcVersion}.override {
overrides = haskellSelf: haskellSuper: {
haskell-arborist =
haskellSuper.callCabal2nix
"haskell-arborist" "${(super.fetchgit haskell-arborist-repo)}" {};

tree-sitter-haskell =
haskellSuper.callCabal2nix
"tree-sitter-haskell" "${(super.fetchgit tree-sitter-simple-repo)}/tree-sitter-haskell" {};
Expand Down
3 changes: 3 additions & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ dependencies:
- row-types
- regex-tdfa # why is the api for this library so bad
- stm
- haskell-arborist
- nonempty-containers

language: GHC2021
default-extensions:
- LambdaCase
Expand Down
28 changes: 0 additions & 28 deletions src/Data/Change.hs

This file was deleted.

50 changes: 0 additions & 50 deletions src/Data/Edit.hs

This file was deleted.

104 changes: 0 additions & 104 deletions src/Data/Path.hs

This file was deleted.

Loading
Loading