about summary refs log tree commit diff
path: root/pkgs/development/compilers/graalvm/community-edition/graalnodejs/default.nix
blob: fb6d1595bbf37e0ad09e821fb47894413d01b1d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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
  '';
}