Fil-C on Nix

Filnix wiki

mbrock/filnix

tests/runtime-prctl-caps.nix

prctl's capability options reach the kernel (patches/filc-runtime-prctl-caps.patch).

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