File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
conf-bpftool/conf-bpftool.0.1.0 Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,9 @@ available: [ os = "linux" ]
1010depexts: [
1111 [ "linux-tools-common" ] {os-distribution = "ubuntu"}
1212 [ "bpftool" ] {os-distribution = "debian"}
13- [ "bpftool" ] {os-family = "fedora"}
13+ [ "bpftool" ] {os-family = "fedora"}
14+ [ "bpftools" ] {os-distribution = "nixos"}
15+ [ "bpftool" ] {os-distribution = "alpine"}
1416]
1517flags: conf
1618x-commit-hash: "c7ac4c7ff9f2aa23c374a619990c0bdd78976102"
Original file line number Diff line number Diff line change @@ -37,11 +37,12 @@ dev-repo: "git+https://github.com/koonwen/ocaml-libbpf.git"
3737# eBPF features by kernel version https://github.com/iovisor/bcc/blob/master/docs/kernel-versions.md
3838# Fix to kernel >= 6.1 to provide bound BPF map types
3939available: [ os = "linux" &
40- (( os-distribution = "debian" & os-version >= "12" ) # Linux 6.1 & Libbpf 1.1.0
41- |( os-distribution = "ubuntu" & os-version >= "23.04" ) # Linux 6.2 & Libbpf 1.1.0
42- |( os-family = "fedora" & os-version >= "38" ) # Linux 6.2 & Libbpf 1.1.0
43- |( os-distribution = "nixos" & os-version >= "23.05" )) # Linux 6.1 & Libbpf 1.1.0
44- ]
40+ (( os-distribution = "debian" & os-version >= "12" ) # Linux 6.1 & Libbpf 1.1.0
41+ |( os-distribution = "ubuntu" & os-version >= "23.04" ) # Linux 6.2 & Libbpf 1.1.0
42+ |( os-family = "fedora" & os-version >= "38" ) # Linux 6.2 & Libbpf 1.1.0
43+ |( os-distribution = "nixos" & os-version >= "23.05" ) # Linux 6.1 & Libbpf 1.1.0
44+ |( os-distribution = "alpine" & os-version >= "3.18")) # Linux 6.1 & Libbpf 1.2.2
45+ ]
4546url {
4647 src:
4748 "https://github.com/koonwen/ocaml-libbpf/releases/download/v0.1.0/libbpf-0.1.0.tbz"
You can’t perform that action at this time.
0 commit comments