3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/lobster/test-can-run-hello-world.nix

14 lines
292 B
Nix
Raw Normal View History

2020-01-26 15:52:00 +00:00
{ stdenv, lobster }:
stdenv.mkDerivation {
name = "lobster-test-can-run-hello-world";
meta.timeout = 10;
buildCommand = ''
${lobster}/bin/lobster \
${lobster}/share/Lobster/samples/rosettacode/hello_world_test.lobster \
| grep 'Goodbye, World!'
touch $out
'';
}