diff --git a/default.nix b/default.nix new file mode 100644 index 00000000..e35097aa --- /dev/null +++ b/default.nix @@ -0,0 +1,12 @@ + +{ pkgs ? import { config.allowUnfree = true; } +, src ? builtins.filterSource (path: type: + type != "unknown" && + baseNameOf path != ".git" && + baseNameOf path != "result" && + baseNameOf path != "dist") ./. +}: +pkgs.haskellPackages.buildLocalCabalWithArgs { + name = "servant"; + inherit src; +}