Fil-C on Nix

Filnix wiki

mbrock/filnix

tests/fenv.nix

λpkgsFilc
pkgsFilc.stdenv.mkDerivation
3name=
"filc-fenv-check"
4dontUnpack=
true
5buildPhase=
$CC -O2 -frounding-math -D_GNU_SOURCE ${./fenv.c} -lm -o check
./check
9installPhase=
touch "$out"