Fil-C on Nix

Filnix wiki

mbrock/filnix

tests/pthread-pi.nix

λpkgsFilc
pkgsFilc.stdenv.mkDerivation
3name=
"filc-pthread-pi-check"
4dontUnpack=
true
5buildPhase=
$CC ${./pthread-pi.c} -pthread -o check
./check
9installPhase=
touch "$out"