Skip to content

Commit

Permalink
move flag to cabal.project.local
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Apr 12, 2023
1 parent c233562 commit 180f474
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 0 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
packages:
telegram-bot-api/
telegram-bot-simple/

flags: +examples
8 changes: 7 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@

devShells.default = pkgs.mkShell {
buildInputs = tools;
shellHook = "export LANG=C.utf8";
LANG = "C.utf8";
shellHook = ''
cat <<EOF > cabal.project.local
ignore-project: False
flags: +examples
EOF
'';
};
in
{
Expand Down

0 comments on commit 180f474

Please sign in to comment.