nixpkgs/pkgs/development/compilers/openjdk/tests/test_jre_minimal.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
229 B
Nix
Raw Normal View History

2021-04-28 15:19:19 +00:00
{ runCommand
, callPackage
, jdk
, jre_minimal
}:
let
hello = callPackage ./hello.nix {
jdk = jdk;
jre = jre_minimal;
};
in
runCommand "test" {} ''
${hello}/bin/hello | grep "Hello, world!"
touch $out
''