about summary refs log tree commit diff
path: root/users/grfn/xanthous/pkg.nix
blob: 16a6500866a7dbe68a61c44565d589e51ebd5e4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ depot ? (import ../../../. {})
, pkgs ? depot.third_party.nixpkgs
, ... }:

let
  ignore = depot.third_party.gitignoreSource.gitignoreFilter ./.;
in import (pkgs.haskellPackages.haskellSrc2nix {
  name = "xanthous";
  src = builtins.path {
    name = "xanthous-source";
    path = ./.;
    filter = path: type: ignore path type
      || builtins.baseNameOf path == "package.yaml";
  };
  extraCabal2nixOptions = "--hpack";
})