templates/c/default.nix

14 lines
221 B
Nix
Raw Normal View History

{ stdenv, gnumake }:
stdenv.mkDerivation {
name = "hello";
src = ./.;
nativeBuildInputs = [ gnumake ];
enableParallelBuilding = true;
installPhase = ''
install -D hello $out/bin/hello --mode 0755
'';
}