crosvm: fix seccomp directory on aarch64

"arm" is for 32-bit ARM.  (Which I don't think is even still
supported, but it's still present.)
This commit is contained in:
Alyssa Ross 2022-07-16 14:33:14 +00:00
parent 65372689a1
commit ff8e90326f

View File

@ -8,7 +8,7 @@ let
upstreamInfo = with builtins; fromJSON (readFile ./upstream-info.json);
arch = with stdenv.hostPlatform;
if isAarch64 then "arm"
if isAarch64 then "aarch64"
else if isx86_64 then "x86_64"
else throw "no seccomp policy files available for host platform";