mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-10-26 09:37:17 +03:00
686fa37877
* tests: Add regression test for shellFor build-tools bug * tests: Fix regen script * Regenerate nix expressions for tests * tests: ghc 8.4.4 -> 8.6.5 * shellFor: Fix bug where packages were not excluded from the env If a multi-package project had an build-tools dependency between packages, they would not be correctly removed from the shell's inputs.
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
cabal-version: 2.2
|
|
-- Initial package description 'project.cabal' generated by 'cabal init'.
|
|
-- For further documentation, see http://haskell.org/cabal/users-guide/
|
|
|
|
name: project
|
|
version: 0.1.0.0
|
|
-- synopsis:
|
|
-- description:
|
|
-- bug-reports:
|
|
license: NONE
|
|
author: Rodney Lorrimar
|
|
maintainer: rodney.lorrimar@iohk.io
|
|
-- copyright:
|
|
-- category:
|
|
|
|
library
|
|
exposed-modules: Lib
|
|
build-depends: base >=4.11.1.0
|
|
hs-source-dirs: lib
|
|
default-language: Haskell2010
|
|
|
|
executable project
|
|
main-is: Main.hs
|
|
build-depends: base >=4.11.1.0
|
|
, project
|
|
default-language: Haskell2010
|
|
|
|
benchmark project-bench
|
|
type: exitcode-stdio-1.0
|
|
main-is: Main.hs
|
|
build-depends: base >=4.11.1.0
|
|
, project
|
|
default-language: Haskell2010
|
|
ghc-options: -threaded -rtsopts -Wall -O2
|
|
|
|
test-suite unit
|
|
type: exitcode-stdio-1.0
|
|
main-is: Main.hs
|
|
build-depends: base >=4.11.1.0
|
|
, project
|
|
, hspec
|
|
build-tools: hspec-discover
|
|
other-modules: LibSpec
|
|
default-language: Haskell2010
|
|
hs-source-dirs: test
|