nixpkgs/pkgs/development/compilers/graalvm/community-edition/graalnodejs/default.nix
2023-09-27 16:22:24 +01:00

17 lines
339 B
Nix

{ stdenv
, fetchurl
, graalvmCEPackages
}:
graalvmCEPackages.buildGraalvmProduct {
src = fetchurl (import ./hashes.nix).hashes.${stdenv.system};
version = (import ./hashes.nix).version;
product = "nodejs-installable-svm";
doInstallCheck = true;
installCheckPhase = ''
echo "Testing NodeJS"
$out/bin/npx --help
'';
}