Fil-C on Nix

Filnix wiki

mbrock/filnix

tests/glibc-syscall-fallbacks.nix

sbrk(0) reports the break; moving it, sched_setattr and pidfd_spawn fail instead of stopping the program (patches/filc-glibc-unsupported-syscalls.patch).

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