mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
19 lines
308 B
Nix
19 lines
308 B
Nix
{ lib
|
|
, stdenv
|
|
, graalvmCEPackages
|
|
, javaVersion
|
|
, src
|
|
, version
|
|
}:
|
|
|
|
graalvmCEPackages.buildGraalvmProduct rec {
|
|
inherit src javaVersion version;
|
|
product = "llvm-installable-svm";
|
|
|
|
# TODO: improve this test
|
|
graalvmPhases.installCheckPhase = ''
|
|
echo "Testing llvm"
|
|
$out/bin/lli --help
|
|
'';
|
|
}
|