forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update rules_haskell and don't use nixpkgs c2hs (digital-asset#525)
* Update rules_haskell In order to have kernel32 flagged as a system library. * Don't use nixpkgs c2hs * Apply linter suggestions
- Loading branch information
1 parent
8655a79
commit 3b9a2f5
Showing
5 changed files
with
16 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
# vim: ft=python | ||
|
||
load("@ai_formation_hazel//third_party/cabal2bazel:bzl/cabal_package.bzl", | ||
"cabal_haskell_package", | ||
"hazel_symlink") | ||
load("@hazel_base_repository//:extra-libs.bzl", | ||
"extra_libs", | ||
) | ||
|
||
load("@os_info//:os_info.bzl", "is_windows") | ||
|
||
load("@com_github_digital_asset_daml//3rdparty/haskell:c2hs-package.bzl", "package") | ||
# Make a buildable target for easier debugging of the package.bzl file | ||
hazel_symlink( | ||
name = "bzl", | ||
src = "@com_github_digital_asset_daml//3rdparty/haskell:c2hs-package.bzl", | ||
out = "package-bzl", | ||
) | ||
|
||
|
||
ghc_workspace = "@io_tweag_rules_haskell_ghc_windows_amd64" if is_windows else "@io_tweag_rules_haskell_ghc-nixpkgs" | ||
|
||
cabal_haskell_package( | ||
package, | ||
"8.6.4 | ||
", | ||
"@io_tweag_rules_haskell_ghc_windows_amd64", | ||
"8.6.4", | ||
ghc_workspace, | ||
extra_libs, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters