ldap-client/default.nix
Matvey Aksenov 336b09bb54 Be honest about the ldapjs dependency.
`nix-build` can run tests without any problems now. Close #1.
2015-11-24 20:22:47 +00:00

10 lines
341 B
Nix

{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7102" }: let
ghc = nixpkgs.pkgs.haskell.packages.${compiler};
npm = import ./npm {};
in
ghc.callPackage ./package.nix {
mkDerivation = args: ghc.mkDerivation(args // {
buildTools = (if args ? buildTools then args.buildTools else []) ++ [ npm.nodePackages.ldapjs ];
});
}