Skip to content

Commit

Permalink
Reproduction of the problem setup, tweag#10.
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Sep 20, 2018
1 parent 0c125e5 commit 808ceac
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/bazel-*
.stack*
__build
dist-newstyle
9 changes: 9 additions & 0 deletions tutorial/defaults.dhall
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" ]
}
24 changes: 24 additions & 0 deletions tutorial/package.dhall
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"
}
}
}
11 changes: 11 additions & 0 deletions tutorial/stack-dhall.yaml
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
4 changes: 4 additions & 0 deletions tutorial/stack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
resolver: lts-11.22
packages:
- .
local-bin-path: __build
37 changes: 37 additions & 0 deletions tutorial/tutorial.cabal
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

0 comments on commit 808ceac

Please sign in to comment.