1
1
mirror of https://github.com/coot/free-category.git synced 2024-11-23 09:55:43 +03:00
free-category/shell.nix
Marcin Szamotulski 3c1aec4bca
nix scripts
2018-10-22 00:09:31 +02:00

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;
}