ldap-client/default.nix
2016-08-27 17:35:02 +00:00

10 lines
340 B
Nix

{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc801" }: 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 ];
});
}