mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
bf29c147c3
In preparation of the upcoming 0.6.0 release I wanted to fix hls. It introduces two new plugin packages, which are not on hackage yet. I remove apply-refact overrides, because current apply-refact versions are compatible with all ghcs we support, according to their changelog. I override more of the hls dependencies globally on the whole package set, to avoid a lot of duplicate compilations. And because @peti changed my mind about this being a good practice. hls now uses a released version of ghcide
40 lines
2.1 KiB
Nix
40 lines
2.1 KiB
Nix
# EXTRA HASKELL PACKAGES NOT ON HACKAGE
|
|
#
|
|
# This file should only contain packages that are not in ./hackage-packages.nix.
|
|
# Attributes in this set should be nothing more than a callPackage call.
|
|
# Overrides to these packages should go to either configuration-nix.nix,
|
|
# configuration-common.nix or to one of the compiler specific configuration
|
|
# files.
|
|
self: super: {
|
|
|
|
multi-ghc-travis = throw ("haskellPackages.multi-ghc-travis has been renamed"
|
|
+ " to haskell-ci, which is now on hackage");
|
|
|
|
dconf2nix = self.callPackage ../tools/haskell/dconf2nix/dconf2nix.nix { };
|
|
|
|
# https://github.com/channable/vaultenv/issues/1
|
|
vaultenv = self.callPackage ../tools/haskell/vaultenv { };
|
|
|
|
# spago is not released to Hackage.
|
|
# https://github.com/spacchetti/spago/issues/512
|
|
spago = self.callPackage ../tools/purescript/spago/spago.nix { };
|
|
|
|
# HLS and its fork of ghcide that it uses
|
|
# both are auto-generated by pkgs/development/tools/haskell/haskell-language-server/update.sh
|
|
haskell-language-server = self.callPackage ../tools/haskell/haskell-language-server { };
|
|
hls-brittany = self.callPackage ../tools/haskell/haskell-language-server/hls-brittany.nix { };
|
|
hls-hlint-plugin = self.callPackage ../tools/haskell/haskell-language-server/hls-hlint-plugin.nix { };
|
|
hls-tactics-plugin = self.callPackage ../tools/haskell/haskell-language-server/hls-tactics-plugin.nix { };
|
|
|
|
nix-output-monitor = self.callPackage ../../tools/nix/nix-output-monitor { };
|
|
|
|
# cabal2nix --revision <rev> https://github.com/hasura/ci-info-hs.git
|
|
ci-info = self.callPackage ../misc/haskell/hasura/ci-info {};
|
|
# cabal2nix --revision <rev> https://github.com/hasura/pg-client-hs.git
|
|
pg-client = self.callPackage ../misc/haskell/hasura/pg-client {};
|
|
# cabal2nix --revision <rev> https://github.com/hasura/graphql-parser-hs.git
|
|
graphql-parser = self.callPackage ../misc/haskell/hasura/graphql-parser {};
|
|
# cabal2nix --subpath server --maintainer offline --no-check --revision 1.2.1 https://github.com/hasura/graphql-engine.git
|
|
graphql-engine = self.callPackage ../misc/haskell/hasura/graphql-engine {};
|
|
}
|