about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/examples/WORKSPACE
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-15T15·11+0100
committerVincent Ambo <tazjin@google.com>2019-08-15T15·11+0100
commit128875b501bc2989617ae553317b80faa556d752 (patch)
tree9b32d12123801179ebe900980556486ad4803482 /third_party/bazel/rules_haskell/examples/WORKSPACE
parenta20daf87265a62b494d67f86d4a5199f14394973 (diff)
chore: Remove remaining Bazel-related files r/31
Diffstat (limited to 'third_party/bazel/rules_haskell/examples/WORKSPACE')
-rw-r--r--third_party/bazel/rules_haskell/examples/WORKSPACE58
1 files changed, 0 insertions, 58 deletions
diff --git a/third_party/bazel/rules_haskell/examples/WORKSPACE b/third_party/bazel/rules_haskell/examples/WORKSPACE
deleted file mode 100644
index 1e99f221190a..000000000000
--- a/third_party/bazel/rules_haskell/examples/WORKSPACE
+++ /dev/null
@@ -1,58 +0,0 @@
-workspace(name = "io_tweag_rules_haskell_examples")
-
-local_repository(
-    name = "io_tweag_rules_haskell",
-    path = "..",
-)
-
-load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
-load("@io_tweag_rules_haskell//haskell:repositories.bzl", "haskell_repositories")
-
-haskell_repositories()
-
-rules_nixpkgs_version = "0.5.2"
-
-http_archive(
-    name = "io_tweag_rules_nixpkgs",
-    sha256 = "5a384daa57b49abf9f0b672852f1a66a3c52aecf9d4d2ac64f6de0fd307690c8",
-    strip_prefix = "rules_nixpkgs-%s" % rules_nixpkgs_version,
-    urls = ["https://github.com/tweag/rules_nixpkgs/archive/v%s.tar.gz" % rules_nixpkgs_version],
-)
-
-load(
-    "@io_tweag_rules_nixpkgs//nixpkgs:nixpkgs.bzl",
-    "nixpkgs_cc_configure",
-    "nixpkgs_package",
-)
-
-# For the rts example.
-nixpkgs_package(
-    name = "ghc",
-    attribute_path = "haskellPackages.ghc",
-    build_file = "@io_tweag_rules_haskell//haskell:ghc.BUILD",
-    repository = "@io_tweag_rules_haskell//nixpkgs:default.nix",
-)
-
-nixpkgs_cc_configure(
-    nix_file = "@io_tweag_rules_haskell//nixpkgs:cc-toolchain.nix",
-    repository = "@io_tweag_rules_haskell//nixpkgs:default.nix",
-)
-
-load(
-    "@io_tweag_rules_haskell//haskell:nixpkgs.bzl",
-    "haskell_register_ghc_nixpkgs",
-)
-
-haskell_register_ghc_nixpkgs(
-    repositories = {
-        "nixpkgs": "@io_tweag_rules_haskell//nixpkgs:default.nix",
-    },
-    version = "8.6.4",
-)
-
-load(
-    "@io_tweag_rules_haskell//haskell:haskell.bzl",
-    "haskell_register_ghc_bindists",
-)
-
-haskell_register_ghc_bindists(version = "8.6.4")