mirror of
https://github.com/coot/free-category.git
synced 2024-11-23 09:55:43 +03:00
17 lines
361 B
Nix
17 lines
361 B
Nix
{ compiler ? "ghc843"
|
|
, haddock ? true
|
|
, test ? true
|
|
, benchmarks ? false
|
|
, dev ? false
|
|
}:
|
|
with builtins;
|
|
let
|
|
default = import ./default.nix {inherit benchmarks compiler dev haddock test;};
|
|
nixpkgs = import ./nix/nixpkgs.nix {};
|
|
in
|
|
{
|
|
free-category = if nixpkgs.lib.inNixShell
|
|
then default.free-category.env
|
|
else default.free-category;
|
|
}
|