Skip to content

Commit

Permalink
flake.nix: Silence warning on entering shell
Browse files Browse the repository at this point in the history
`cleanGit` is good for non-flake Nix use, so you don't pick up random
other files in the directory, but flakes ensure we only get files from
git anyway.
  • Loading branch information
JackKelly-Bellroy committed Jul 19, 2024
1 parent 3921b8d commit 74fa327
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
project = pkgs: pkgs.haskell-nix.project {
compiler-nix-name = "ghc96";
evalSystem = "x86_64-linux";
src = pkgsLocal.haskell-nix.haskellLib.cleanGit {
name = "wai-handler-hal-example";
src = ./.;
};
src = ./.;

# This is usually fine, but can "occasionally cause breakage":
# https://input-output-hk.github.io/haskell.nix/troubleshooting/#why-does-my-executable-depend-on-ghcgcc
Expand Down

0 comments on commit 74fa327

Please sign in to comment.