@@ -3,32 +3,40 @@ workspace(name = "io_tweag_inline_java")
3
3
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
4
4
5
5
6
+ # rules_nixpkgs and rules_haskell
7
+
6
8
http_archive (
7
- name = "rules_haskell" ,
8
- sha256 = "4cae22bc84f327bf3cb7605021c3663160ff6bc8a0b7b6266062366bcbd19e79" ,
9
- strip_prefix = "rules_haskell-1.0" ,
10
- urls = ["https://github.com/tweag/rules_haskell/releases/download/v1.0/rules_haskell-1.0.tar.gz" ],
9
+ name = "bazel_skylib" ,
10
+ urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz" ],
11
11
)
12
12
13
- load ("@rules_haskell//haskell:repositories.bzl" , "rules_haskell_dependencies" )
14
- rules_haskell_dependencies ()
15
-
16
-
17
-
18
13
http_archive (
19
14
name = "io_tweag_rules_nixpkgs" ,
20
15
sha256 = "30271f7bd380e4e20e4d7132c324946c4fdbc31ebe0bbb6638a0f61a37e74397" ,
21
16
strip_prefix = "rules_nixpkgs-0.13.0" ,
22
17
urls = ["https://github.com/tweag/rules_nixpkgs/releases/download/v0.13.0/rules_nixpkgs-0.13.0.tar.gz" ],
23
18
)
24
19
20
+ load ("@io_tweag_rules_nixpkgs//nixpkgs:repositories.bzl" , "rules_nixpkgs_dependencies" )
21
+
22
+ rules_nixpkgs_dependencies (toolchains = ["cc" , "posix" , "rust" , "python" , "nodejs" , "java" ])
23
+
25
24
http_archive (
26
25
name = "rules_nixpkgs_core" ,
27
26
sha256 = "30271f7bd380e4e20e4d7132c324946c4fdbc31ebe0bbb6638a0f61a37e74397" ,
28
27
strip_prefix = "rules_nixpkgs-0.13.0/core" ,
29
28
urls = ["https://github.com/tweag/rules_nixpkgs/releases/download/v0.13.0/rules_nixpkgs-0.13.0.tar.gz" ],
30
29
)
31
30
31
+ http_archive (
32
+ name = "rules_haskell" ,
33
+ sha256 = "4cae22bc84f327bf3cb7605021c3663160ff6bc8a0b7b6266062366bcbd19e79" ,
34
+ strip_prefix = "rules_haskell-1.0" ,
35
+ urls = ["https://github.com/tweag/rules_haskell/releases/download/v1.0/rules_haskell-1.0.tar.gz" ],
36
+ )
37
+
38
+ load ("@rules_haskell//haskell:repositories.bzl" , "rules_haskell_dependencies" )
39
+ rules_haskell_dependencies ()
32
40
33
41
http_archive (
34
42
name = "rules_nixpkgs_go" ,
0 commit comments