bscpkgs/test/reproducers/sigsegv.nix

21 lines
208 B
Nix
Raw Normal View History

{
stdenv
, mpi
}:
stdenv.mkDerivation {
name = "sigsegv";
src = ./.;
buildInputs = [ mpi ];
buildPhase = ''
mpicc sigsegv.c -o sigsegv
'';
installPhase = ''
cp sigsegv $out
'';
}