systemd: Fix error: attribute 'version' missing on arm-embedded

`pkgsCross.arm-embedded.systemd`
This commit is contained in:
Artturin
2025-02-14 20:21:53 +02:00
parent 91f1e05e59
commit cc6ec5701c
+6 -1
View File
@@ -120,7 +120,12 @@
withLibBPF ?
lib.versionAtLeast buildPackages.llvmPackages.clang.version "10.0"
# assumes hard floats
&& (stdenv.hostPlatform.isAarch -> lib.versionAtLeast stdenv.hostPlatform.parsed.cpu.version "6")
&& (
stdenv.hostPlatform.isAarch
->
stdenv.hostPlatform.parsed.cpu ? version
&& lib.versionAtLeast stdenv.hostPlatform.parsed.cpu.version "6"
)
# see https://github.com/NixOS/nixpkgs/pull/194149#issuecomment-1266642211
&& !stdenv.hostPlatform.isMips64
# can't find gnu/stubs-32.h