Merge pull request #145566 from risicle/ris-xscreensaver-aarch64

xscreensaver: fix build for aarch64
This commit is contained in:
Artturi 2021-11-12 21:02:05 +02:00 committed by GitHub
commit 3abdeae008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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" \