Skip to content

Commit 04547c0

Browse files
committed
test
1 parent b0febbd commit 04547c0

File tree

5 files changed

+38
-8
lines changed

5 files changed

+38
-8
lines changed

cabal.project

+19-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ packages:
33
codeworld-account/
44
codeworld-api/
55
codeworld-auth/
6-
codeworld-available-pkgs/
6+
-- codeworld-available-pkgs/
77
codeworld-base/
88
codeworld-compiler/
99
codeworld-error-sanitizer/
@@ -12,3 +12,21 @@ packages:
1212
codeworld-prediction/
1313
codeworld-server/
1414
funblocks-client/
15+
16+
source-repository-package
17+
type: git
18+
location: https://github.com/peterbecich/hgeometry.git
19+
tag: f898c5580c609320f0c7cc776e80f609711d19c5
20+
subdir: hgeometry
21+
--sha256: 0bmcb3dh1sfz6k7i30czcqqvarm1mzn55xdnimpnp19kj8v5g8nj
22+
23+
source-repository-package
24+
type: git
25+
location: https://github.com/peterbecich/hgeometry.git
26+
tag: f898c5580c609320f0c7cc776e80f609711d19c5
27+
subdir: hgeometry-combinatorial
28+
--sha256: 0bmcb3dh1sfz6k7i30czcqqvarm1mzn55xdnimpnp19kj8v5g8nj
29+
30+
allow-newer:
31+
reflex:witherable
32+
, patch:witherable

codeworld-api/codeworld-api.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Library
6565
template-haskell >= 2.8 && < 2.18,
6666
text >= 1.2.2 && < 1.3,
6767
time >= 1.8 && < 2.0,
68-
witherable >= 0.3 && < 0.4
68+
witherable >= 0.3
6969

7070
if impl(ghcjs)
7171
Js-sources: jsbits/sim_fp.js
@@ -126,7 +126,7 @@ Test-suite unit-tests
126126
template-haskell >= 2.8 && < 2.18,
127127
text >= 1.2.2 && < 1.3,
128128
time >= 1.8 && < 2.0,
129-
witherable >= 0.3 && < 0.4
129+
witherable >= 0.3
130130

131131
if impl(ghcjs)
132132
Js-sources: jsbits/sim_fp.js

codeworld-available-pkgs/codeworld-available-pkgs.cabal

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Copyright: (c) 2020, The CodeWorld Authors
1010
Bug-reports: https://github.com/google/codeworld/issues
1111

1212
Library
13+
extra-libraries: m
1314
if impl(ghcjs -any)
1415
Build-depends:
1516
Boolean,

default.nix

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# https://input-output-hk.github.io/haskell.nix/tutorials/getting-started/
22
{ compiler ? "ghc865",
3-
ghcjs ? "ghcjs",
3+
# ghcjs ? "ghcjs",
44
withCoverage ? false
55
}:
66
let
@@ -9,8 +9,19 @@
99
pkgs = import
1010
haskellNix.sources.nixpkgs-unstable
1111
haskellNix.nixpkgsArgs;
12+
overlays = [
13+
(self: super:
14+
{
15+
m = self.stdenv.mkDerivation {
16+
name = "m";
17+
unpackPhase = "true";
18+
installPhase = "mkdir -p $out";
19+
};
20+
}
21+
)
22+
];
23+
1224
in
13-
# pkgs.pkgsCross.ghcjs.haskell-nix.project {
1425
pkgs.haskell-nix.project {
1526
projectFileName = "cabal.project";
1627
src = pkgs.haskell-nix.haskellLib.cleanGit {

nix/sources.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"homepage": "https://input-output-hk.github.io/haskell.nix",
66
"owner": "input-output-hk",
77
"repo": "haskell.nix",
8-
"rev": "166d280952e5f1791ce5aebc995a3525f7174e4b",
9-
"sha256": "0q4xjdck74jp6dhyf0g0flj4fhs59rhcyslklfwmfhbq8afbqprn",
8+
"rev": "564458fc4080c0fc51e316d74c3dbb68639ea839",
9+
"sha256": "0d7kp3sqw8zhp4sv5awla6ch15mbndmr3640y3pwlvkcb59p8amm",
1010
"type": "tarball",
11-
"url": "https://github.com/input-output-hk/haskell.nix/archive/166d280952e5f1791ce5aebc995a3525f7174e4b.tar.gz",
11+
"url": "https://github.com/input-output-hk/haskell.nix/archive/564458fc4080c0fc51e316d74c3dbb68639ea839.tar.gz",
1212
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
1313
},
1414
"niv": {

0 commit comments

Comments
 (0)