Skip to content

Commit

Permalink
systemd: disable BPF for ARMv5
Browse files Browse the repository at this point in the history
ARMv5 does not have hardware floating point, so can't build systemd's
BPF code.
  • Loading branch information
alyssais committed Jan 30, 2023
1 parent aa51704 commit 0da24fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/os-specific/linux/systemd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0da24fa

Please sign in to comment.