mirror of
https://github.com/ilyakooo0/servant-reflex.git
synced 2024-09-11 07:15:29 +03:00
10 lines
247 B
Nix
10 lines
247 B
Nix
{ nixpkgs ? import <nixpkgs> {}
|
|
, compiler ? "ghc"
|
|
} :
|
|
let
|
|
inherit (nixpkgs) pkgs;
|
|
reflex-platform = import ./nix/reflex-platform.nix;
|
|
drv = import ./. { inherit reflex-platform compiler; };
|
|
in
|
|
if pkgs.lib.inNixShell then drv.env else drv
|