9 name = "inja-simple-cmake-test";
10 src = lib.fileset.toSource {
12 fileset = lib.fileset.unions [
17 nativeBuildInputs = [ cmake ];
18 buildInputs = [ inja ];
19 doInstallCheck = true;
20 installCheckPhase = ''
21 if [[ `$out/bin/simple-cmake-test` != "Hello world!" ]]; then
22 echo "ERROR: $out/bin/simple-cmake-test does not output 'Hello world!'"