lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

check: fix compilation on cross-compiled musl (#260675)

on cross-compiled musl vsnprintf gets detected as non-compliant with c99.
The included replacement is incompatible with SOURCE_FORTIFY.

authored by

Kiskae and committed by
GitHub
a4e2dd0f 114236d1

+3
+3
pkgs/development/libraries/check/default.nix
··· 11 11 sha256 = "02m25y9m46pb6n46s51av62kpd936lkfv3b13kfpckgvmh5lxpm8"; 12 12 }; 13 13 14 + # fortify breaks the libcompat vsnprintf implementation 15 + hardeningDisable = lib.optionals (stdenv.hostPlatform.isMusl && (stdenv.hostPlatform != stdenv.buildPlatform)) [ "fortify" ]; 16 + 14 17 # Test can randomly fail: https://hydra.nixos.org/build/7243912 15 18 doCheck = false; 16 19