templates/c/default.nix
Sigmanificient 57769ca9ed refactor(c): improve flake structure
Co-authored-by: isabelroses <isabel@isabelroses.com>
2024-05-07 00:54:12 +02:00

14 lines
221 B
Nix

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