Skip to content

Commit c7426a3

Browse files
rikvdkleijblackgnezdo
authored andcommitted
Upgraded Stackage resolver to LTS-12 (GHC 8.4.4) and Nix channel to 18.04 (tensorflow#231)
1 parent e4acd69 commit c7426a3

File tree

5 files changed

+8
-13
lines changed

5 files changed

+8
-13
lines changed

nix/src.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"owner": "NixOS",
33
"repo": "nixpkgs",
4-
"rev": "7098bcac278a2d028036bb3a23508fd1c52155ac",
5-
"sha256": "04m7z7334mjma0ci3vp4js6rbz4s2jxy864s1v4dkdm7860zjc28"
4+
"rev": "dbb9f8818af7cf2ea91b89f7d80a8fb1800cbfb5",
5+
"sha256": "1i8lsiscjzq066p02a5c7azjrvqxqkz6dipzkkyhh9rmhgs1aca3"
66
}

nix/update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -euo pipefail
77

88
cd "$(dirname "$0")" || exit 1
99

10-
branch=release-17.09
10+
branch=release-18.04
1111

1212
owner=NixOS
1313
repo=nixpkgs

shell.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ let
1111
pkgs = import nixpkgs {};
1212
in
1313
pkgs.haskell.lib.buildStackProject {
14-
# Either use specified GHC or use GHC 8.2.2 (which we need for LTS 11.9)
15-
ghc = if isNull ghc then pkgs.haskell.compiler.ghc822 else ghc;
14+
# Either use specified GHC or use GHC 8.4.4 (which we need for LTS 12.26)
15+
ghc = if isNull ghc then pkgs.haskell.compiler.ghc844 else ghc;
1616
extraArgs = "--system-ghc";
1717
name = "tf-env";
1818
buildInputs = with pkgs; [ snappy zlib protobuf libtensorflow ];

stack.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-11.9
1+
resolver: lts-12.26
22

33
packages:
44
- tensorflow
@@ -14,12 +14,7 @@ packages:
1414
- tensorflow-test
1515

1616
extra-deps:
17-
- snappy-framing-0.1.1
18-
- snappy-0.2.0.2
19-
- proto-lens-protobuf-types-0.3.0.1
20-
- proto-lens-protoc-0.3.1.0
21-
- proto-lens-0.3.1.0
22-
- lens-labels-0.2.0.1
17+
- snappy-framing-0.1.2
2318

2419
# For Mac OS X, whose linker doesn't use this path by default
2520
# unless you run `xcode-select --install`.

tensorflow-opgen/src/TensorFlow/OpGen.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ import Proto.Tensorflow.Core.Framework.OpDef_Fields
7171
import Proto.Tensorflow.Core.Framework.Types (DataType(..))
7272
import System.FilePath (takeBaseName)
7373
import TensorFlow.OpGen.ParsedOp
74+
import Data.Semigroup ((<>))
7475
import Text.PrettyPrint.Mainland
7576
( Doc
76-
, (<>)
7777
, (<+>)
7878
, (</>)
7979
, (<+/>)

0 commit comments

Comments
 (0)