mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-18 12:04:41 -04:00
bazel: always use nix
This commit is contained in:
parent
d046ba01ff
commit
d22f53d7cc
13 changed files with 49 additions and 195 deletions
|
@ -16,19 +16,13 @@ go_library(
|
|||
go_binary(
|
||||
name = "cmd",
|
||||
# keep
|
||||
data = select({
|
||||
"@rules_nixpkgs_core//constraints:support_nix": [
|
||||
"@systemd//:bin/systemd-dissect",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
data = [
|
||||
"@systemd//:bin/systemd-dissect",
|
||||
],
|
||||
embed = [":cmd_lib"],
|
||||
# keep
|
||||
env = select({
|
||||
"@rules_nixpkgs_core//constraints:support_nix": {
|
||||
"DISSECT_TOOLCHAIN": "$(rootpath @systemd//:bin/systemd-dissect)",
|
||||
},
|
||||
"//conditions:default": {},
|
||||
}),
|
||||
env = {
|
||||
"DISSECT_TOOLCHAIN": "$(rootpath @systemd//:bin/systemd-dissect)",
|
||||
},
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue