3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/openjdk/tests/test_jre_minimal.nix
2021-04-28 21:01:46 +02:00

17 lines
229 B
Nix

{ 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
''