systemd: disable BPF for ARMv5
ARMv5 does not have hardware floating point, so can't build systemd's BPF code.
This commit is contained in:
@@ -93,6 +93,7 @@
|
||||
, withHwdb ? true
|
||||
, withImportd ? !stdenv.hostPlatform.isMusl
|
||||
, withLibBPF ? lib.versionAtLeast buildPackages.llvmPackages.clang.version "10.0"
|
||||
&& stdenv.hostPlatform.isAarch -> lib.versionAtLeast stdenv.hostPlatform.parsed.cpu.version "6" # assumes hard floats
|
||||
&& !stdenv.hostPlatform.isMips64 # see https://github.com/NixOS/nixpkgs/pull/194149#issuecomment-1266642211
|
||||
, withLocaled ? true
|
||||
, withLogind ? true
|
||||
|
||||
Reference in New Issue
Block a user