forked from tweag/rules_haskell_examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reproduction of the problem setup, tweag#10.
- Loading branch information
1 parent
0c125e5
commit 808ceac
Showing
6 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
/bazel-* | ||
.stack* | ||
__build | ||
dist-newstyle |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ version = | ||
"1.0.0" | ||
, author = | ||
"Joe Bloggs" | ||
, ghc-options = | ||
[ "-Wall" ] | ||
, dependencies = | ||
[ "base >=4 && <5" ] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
let defs = ./defaults.dhall | ||
|
||
in defs | ||
⫽ { name = | ||
"tutorial" | ||
, synopsis = | ||
"." | ||
, description = | ||
"." | ||
, library = | ||
{ source-dirs = "lib", exposed-modules = "Bool" } | ||
, executables = | ||
{ demorgans = | ||
{ dependencies = | ||
"tutorial" | ||
, ghc-options = | ||
[ "-rtsopts", "-threaded", "-with-rtsopts=-N" ] | ||
, main = | ||
"Main.hs" | ||
, source-dirs = | ||
"main" | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
resolver: lts-12.5 | ||
flags: {} | ||
packages: [] | ||
extra-deps: | ||
- dhall-1.16.1 | ||
- hpack-dhall-0.3.0 | ||
- dhall-nix-1.1.5 | ||
- hnix-0.5.2 | ||
- serialise-0.2.0.0 | ||
local-bin-path: __build | ||
work-dir: .stack-work-dhall |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
resolver: lts-11.22 | ||
packages: | ||
- . | ||
local-bin-path: __build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
-- This file has been generated from package.dhall by hpack version 0.28.2. | ||
-- | ||
-- see: https://github.com/sol/hpack | ||
-- | ||
-- hash: 67eb8899e129cded87a996c578992445eef8a1cda2f7a63e59094bf6a3a20a6c | ||
|
||
name: tutorial | ||
version: 1.0.0 | ||
synopsis: . | ||
description: . | ||
author: Joe Bloggs | ||
build-type: Simple | ||
cabal-version: >= 1.10 | ||
|
||
library | ||
exposed-modules: | ||
Bool | ||
other-modules: | ||
Paths_tutorial | ||
hs-source-dirs: | ||
lib | ||
ghc-options: -Wall | ||
build-depends: | ||
base >=4 && <5 | ||
default-language: Haskell2010 | ||
|
||
executable demorgans | ||
main-is: Main.hs | ||
other-modules: | ||
Paths_tutorial | ||
hs-source-dirs: | ||
main | ||
ghc-options: -Wall -rtsopts -threaded -with-rtsopts=-N | ||
build-depends: | ||
base >=4 && <5 | ||
, tutorial | ||
default-language: Haskell2010 |