blob: eebd11fb2fdf6a1076053070c54e3ad2e0bc6f0e (
plain) (
tree)
|
|
{ runCommand
, callPackage
, jdk
, jre_minimal
}:
let
hello = callPackage tests/hello.nix {
jdk = jdk;
jre = jre_minimal;
};
in
runCommand "test" {} ''
${hello}/bin/hello | grep "Hello, world!"
touch $out
''
|