This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Description :octocat: | |
flycheck haskell can't find dependencies for stack project | |
#### Reproduction guide :beetle: | |
- `stack setup` and `stack build` and `stack test` a project with multiple modules - e.g. https://github.com/ublubu/shapes | |
- Start Emacs | |
- open a source file in one module that depends on another module in the project - e.g. shapes/src/Physics/Broadphase/Aabb.hs | |
- flycheck complains that it can't find shapes-math | |
Alternate steps: | |
- per haskell layer troubleshooting doc: in user-config (setq flycheck-haskell-stack-ghc-executable "/Users/krilee/wrapped-stack") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc784" }: | |
nixpkgs.pkgs.haskell.packages.${compiler}.callPackage ./tile-rider.nix { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, ... }: | |
{ | |
nixpkgs.config.allowUnfree = true; | |
imports = |