futhark: build against lsp >= 2.8 as requested

Build still fails due to https://github.com/diku-dk/futhark/issues/2397.
This commit is contained in:
sternenseemann
2026-03-15 19:43:51 +01:00
parent 911fdad84d
commit e1283fbe88
2 changed files with 11 additions and 0 deletions
@@ -190,6 +190,12 @@ with haskellLib;
}
);
# First to upgrade to lsp >= 2.8 while HLS hasn't yet had a compatible release
futhark = super.futhark.override {
lsp = self.lsp_2_8_0_0;
lsp-types = self.lsp-types_2_4_0_0;
};
#######################################
### HASKELL-LANGUAGE-SERVER SECTION ###
#######################################
@@ -1023,6 +1023,11 @@ builtins.intersectAttrs super {
];
}) super.lsp-test;
lsp_2_8_0_0 = doDistribute (super.lsp_2_8_0_0.override {
lsp-types = self.lsp-types_2_4_0_0;
});
lsp-types_2_4_0_0 = doDistribute super.lsp-types_2_4_0_0;
# the test suite attempts to run the binaries built in this package
# through $PATH but they aren't in $PATH
dhall-lsp-server = dontCheck super.dhall-lsp-server;