diff --git a/cabal.project b/cabal.project index 8062577..882c428 100644 --- a/cabal.project +++ b/cabal.project @@ -1,5 +1,3 @@ packages: telegram-bot-api/ telegram-bot-simple/ - -flags: +examples \ No newline at end of file diff --git a/flake.nix b/flake.nix index ba47cdf..17c3dd9 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,13 @@ devShells.default = pkgs.mkShell { buildInputs = tools; - shellHook = "export LANG=C.utf8"; + LANG = "C.utf8"; + shellHook = '' + cat < cabal.project.local + ignore-project: False + flags: +examples + EOF + ''; }; in {