Fil-C on Nix

Filnix wiki

mbrock/filnix

tests/glibc-settimezone.nix

settimeofday(NULL, tz) reaches the kernel instead of stopping the program (patches/filc-glibc-settimezone.patch).

λpkgsFilc
pkgsFilc.stdenv.mkDerivation
5name=
"filc-glibc-settimezone-check"
6dontUnpack=
true
7buildPhase=
$CC -O2 ${./glibc-settimezone.c} -o check
./check
11installPhase=
touch "$out"