@@ -0,0 +1,12 @@
1+
2+{ pkgs ? import <nixpkgs> { config.allowUnfree = true; }
3+, src ? builtins.filterSource (path: type:
4+ type != "unknown" &&
5+ baseNameOf path != ".git" &&
6+ baseNameOf path != "result" &&
7+ baseNameOf path != "dist") ./.
8+}:
9+pkgs.haskellPackages.buildLocalCabalWithArgs {
10+ name = "servant";
11+ inherit src;
12+}