templates/ada: add install phase

This commit is contained in:
Aaron Bieber 2022-09-19 07:16:39 -06:00
parent 5c5282770a
commit 0c07350e95
No known key found for this signature in database
2 changed files with 12 additions and 1 deletions

View File

@ -20,7 +20,12 @@
}; };
buildPhase = '' buildPhase = ''
gprbuild gprbuild thing
'';
installPhase = ''
mkdir -p $out/bin
mv thing $out/bin
''; '';
}); });

6
templates/ada/thing.adb Normal file
View File

@ -0,0 +1,6 @@
with Ada.Text_IO; use Ada.Text_IO;
procedure Thing is
begin
Put_Line ("Hi Thing!");
end Thing;