1
1
mirror of https://github.com/coot/free-category.git synced 2024-11-23 09:55:43 +03:00
free-category/shell.nix

17 lines
361 B
Nix
Raw Normal View History

2018-08-26 20:12:12 +03:00
{ compiler ? "ghc843"
, haddock ? true
, test ? true
, benchmarks ? false
, dev ? false
}:
with builtins;
let
default = import ./default.nix {inherit benchmarks compiler dev haddock test;};
2018-10-22 01:09:31 +03:00
nixpkgs = import ./nix/nixpkgs.nix {};
2018-08-26 20:12:12 +03:00
in
{
free-category = if nixpkgs.lib.inNixShell
then default.free-category.env
else default.free-category;
}