mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-26 21:09:44 +01:00
nix-shell updated to be compatible with LTS14.4 (#254)
This commit is contained in:
parent
8cde4d6a27
commit
f07c7f237a
3 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "dbb9f8818af7cf2ea91b89f7d80a8fb1800cbfb5",
|
"rev": "8731aaaf8b30888bc24994096db830993090d7c4",
|
||||||
"sha256": "1i8lsiscjzq066p02a5c7azjrvqxqkz6dipzkkyhh9rmhgs1aca3"
|
"sha256": "1hcc89rxi47nb0mpk05nl9rbbb04kfw97xfydhpmmgh57yrp3zqa"
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ set -euo pipefail
|
||||||
|
|
||||||
cd "$(dirname "$0")" || exit 1
|
cd "$(dirname "$0")" || exit 1
|
||||||
|
|
||||||
branch=release-18.04
|
branch=release-19.09
|
||||||
|
|
||||||
owner=NixOS
|
owner=NixOS
|
||||||
repo=nixpkgs
|
repo=nixpkgs
|
||||||
|
|
|
@ -11,8 +11,8 @@ let
|
||||||
pkgs = import nixpkgs {};
|
pkgs = import nixpkgs {};
|
||||||
in
|
in
|
||||||
pkgs.haskell.lib.buildStackProject {
|
pkgs.haskell.lib.buildStackProject {
|
||||||
# Either use specified GHC or use GHC 8.6.4 (which we need for LTS 13.13)
|
# Either use specified GHC or use GHC 8.6.5 (which we need for LTS 14.4)
|
||||||
ghc = if isNull ghc then pkgs.haskell.compiler.ghc864 else ghc;
|
ghc = if isNull ghc then pkgs.haskell.compiler.ghc865 else ghc;
|
||||||
extraArgs = "--system-ghc";
|
extraArgs = "--system-ghc";
|
||||||
name = "tf-env";
|
name = "tf-env";
|
||||||
buildInputs = with pkgs; [ snappy zlib protobuf libtensorflow ];
|
buildInputs = with pkgs; [ snappy zlib protobuf libtensorflow ];
|
||||||
|
|
Loading…
Reference in a new issue