Kyle Butt

Results 33 comments of Kyle Butt

Sorry for the delay. Rebased.

I got something working that is pull-based, and I'd be happy to try and get it cleaned up and merged. You supply some monadic action that can be used to...

My solution may not be ideal. I would be happy to re-write it given some pointers. I'm new to lua and vim plugins.

I'll try and rebase my current solution and push it up.

This is the relevant section of my WORKSPACE file for my build of haskell-language-server ``` http_archive( name = "hlint-patched", build_file_content = """ load("@rules_haskell//haskell:cabal.bzl", "haskell_cabal_library") load("@haskell-language-server//:packages.bzl", "packages") haskell_cabal_library( name = "hlint",...

Here is my haskell-language-server-stack-snapshot.yaml ``` resolver: nightly-2023-06-15 packages: - Cabal-3.10.1.0 - Cabal-syntax-3.10.1.0 - co-log-core-0.3.2.0 - floskell-0.10.7 - heapsize-0.3.0.1@sha256:0b69aa97a46d819b700ac7b145f3b5493c3565cf2c5b8298682238d405d0326e,1417 - hie-bios-0.12.0 - hiedb-0.4.3.0 - implicit-hie-0.1.2.7 - implicit-hie-cradle-0.5.0.1 - lsp-1.6.0.0 - lsp-test-0.14.1.0...

Note that I checked in the binary `haskell-language-server-2.0.0.1.tar.gz`. Otherwise pinning would download it over and over and over. Maybe there needs to be a different bug, but with the sha256...

Contents of monad-dijkstra.patch: ``` diff -U5 -r a/monad-dijkstra.cabal b/monad-dijkstra.cabal --- a/monad-dijkstra.cabal 2001-09-08 19:46:40.000000000 -0600 +++ b/monad-dijkstra.cabal 2023-06-16 16:08:16.402351266 -0600 @@ -17,11 +17,11 @@ exposed-modules: Control.Monad.Search build-depends: base >= 4.7 &&...

Contents of `.bazel-hls` output_base and symlink_prefix are useful, but not necessary. output_base prevents the swith from opt to fastbuild from happening repeatedly. You want HLS to be built optimized. You...

With the PR I just posted, I can use flags. The WORKSPACE now looks like: ``` http_archive( name = "monad-dijkstra-patched", build_file_content = """ load("@rules_haskell//haskell:cabal.bzl", "haskell_cabal_library") load("@haskell-language-server//:packages.bzl", "packages") haskell_cabal_library( name =...