Skip to content

Commit

Permalink
Clean up WORKSPACE file.
Browse files Browse the repository at this point in the history
  • Loading branch information
facundominguez committed Jul 20, 2018
1 parent 839a8f3 commit e732111
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,6 @@ nixpkgs_git_repository(
revision = "80d44926bf7099f2bc77ca5e9288c0c0ca35e99d",
)

prebuilt_packages = [
"base",
"bytestring",
"directory",
"filepath",
"process",
"regex-tdfa",
"temporary",
"text",
"unix",
"zip-archive",
]

nixpkgs_package(
name = "ghc",
build_file_content = """
Expand All @@ -74,12 +61,7 @@ cc_library(
nix_file_content = """
let pkgs = import <nixpkgs> {{}};
in pkgs.haskell.packages.ghc822.ghcWithPackages (p: with p; [{0}])
""".format(" ".join(prebuilt_packages)),
repository = "@nixpkgs",
)

nixpkgs_package(
name = "gcc",
""".format("base"),
repository = "@nixpkgs",
)

Expand Down

0 comments on commit e732111

Please sign in to comment.