xscreensaver: fix build for aarch64

This commit is contained in:
Robert Scott 2021-11-12 00:02:36 +00:00
parent c19fba4749
commit 63eaff4dc1

View File

@ -37,6 +37,9 @@ stdenv.mkDerivation rec {
"--with-app-defaults=${placeholder "out"}/share/xscreensaver/app-defaults"
];
# "marbling" has NEON code that mixes signed and unsigned vector types
NIX_CFLAGS_COMPILE = lib.optional (with stdenv.hostPlatform; isAarch64 || isAarch32) "-flax-vector-conversions";
postInstall = ''
for bin in $out/bin/*; do
wrapProgram "$bin" \