sudo pacman -S archlinux-keyringsource: https://www.ostechnix.com/fix-invalid-corrupted-package-pgp-signature-error-arch-linux/
sudo pacman -S archlinux-keyringsource: https://www.ostechnix.com/fix-invalid-corrupted-package-pgp-signature-error-arch-linux/
| $ cat WORKSPACE | |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | |
| http_archive( | |
| name = "io_tweag_rules_nixpkgs", | |
| urls = ["https://github.com/tweag/rules_nixpkgs/archive/v0.5.2.tar.gz"], | |
| strip_prefix = "rules_nixpkgs-0.5.2", | |
| sha256 = "5a384daa57b49abf9f0b672852f1a66a3c52aecf9d4d2ac64f6de0fd307690c8", | |
| ) |
| """Provides a rule that outputs a monolithic static library.""" | |
| load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain") | |
| TOOLS_CPP_REPO = "@bazel_tools" | |
| def _cc_static_library_impl(ctx): | |
| output_lib = ctx.actions.declare_file("{}.a".format(ctx.attr.name)) | |
| output_flags = ctx.actions.declare_file("{}.link".format(ctx.attr.name)) |