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

let
  ignore = pkgs.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";
})