ghcide: unbreak
This commit is contained in:
parent
3ca15e5fe1
commit
7a71069309
|
@ -6940,7 +6940,6 @@ broken-packages:
|
|||
- ls-usb
|
||||
- lscabal
|
||||
- LslPlus
|
||||
- lsp-test
|
||||
- lsystem
|
||||
- ltext
|
||||
- ltk
|
||||
|
|
|
@ -444,6 +444,14 @@ self: super: builtins.intersectAttrs super {
|
|||
[ pkgs.darwin.apple_sdk.frameworks.OpenCL ];
|
||||
});
|
||||
|
||||
# depends on 'hie' executable
|
||||
lsp-test = dontCheck super.lsp-test;
|
||||
|
||||
# tests depend on executable
|
||||
ghcide = overrideCabal super.ghcide (drv: {
|
||||
preCheck = ''export PATH="$PWD/dist/build/ghcide:$PATH"'';
|
||||
});
|
||||
|
||||
# GLUT uses `dlopen` to link to freeglut, so we need to set the RUNPATH correctly for
|
||||
# it to find `libglut.so` from the nix store. We do this by patching GLUT.cabal to pkg-config
|
||||
# depend on freeglut, which provides GHC to necessary information to generate a correct RPATH.
|
||||
|
|
Loading…
Reference in New Issue