2015-04-20 19:13:06 +02:00
|
|
|
# Get a Nix shell with all the packages installed
|
|
|
|
# Also a good way of running the tests for all packages
|
|
|
|
with (import <nixpkgs> {}).pkgs;
|
|
|
|
let modifiedHaskellPackages = haskellngPackages.override {
|
2015-04-20 19:52:29 +02:00
|
|
|
overrides = with haskell-ng.lib ; self: super: {
|
|
|
|
servant = appendConfigureFlag ( self.callPackage ../servant {} )
|
|
|
|
"--ghc-options=-Werror";
|
2015-04-23 16:31:08 +02:00
|
|
|
servant-server = appendConfigureFlag (self.callPackage
|
2015-04-20 19:52:29 +02:00
|
|
|
../servant-server {}) "--ghc-options=-Werror";
|
2015-04-23 16:31:08 +02:00
|
|
|
servant-client = appendConfigureFlag (self.callPackage
|
2015-04-20 19:52:29 +02:00
|
|
|
../servant-client {}) "--ghc-options=-Werror";
|
2015-04-23 16:31:08 +02:00
|
|
|
servant-jquery = appendConfigureFlag (self.callPackage
|
2015-04-20 19:52:29 +02:00
|
|
|
../servant-jquery {}) "--ghc-options=-Werror";
|
2015-04-23 16:31:08 +02:00
|
|
|
servant-docs = appendConfigureFlag (self.callPackage ../servant-docs
|
|
|
|
{}) "--ghc-options=-Werror";
|
|
|
|
servant-examples = appendConfigureFlag (self.callPackage ../servant-examples
|
2015-04-20 19:52:29 +02:00
|
|
|
{}) "--ghc-options=-Werror";
|
2015-04-20 19:13:06 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
in modifiedHaskellPackages.ghcWithPackages ( p : with p ; [
|
2015-04-23 16:31:08 +02:00
|
|
|
servant servant-server servant-client servant-jquery servant-docs servant-examples
|
2015-04-20 19:13:06 +02:00
|
|
|
])
|