mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
14 lines
292 B
Nix
14 lines
292 B
Nix
{ 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
|
|
'';
|
|
}
|
|
|