Skip to content

Commit 7c1b206

Browse files
Nathan DalyrobbearNRHelmi
authored
Add javascript-client-sdk to nix config. (#3971)
* Add JavaScript SDK unit tests to CI/hydra via nix environment * Update Nix environment to handle node.js/npm and OpenAPI dependencies Co-authored-by: Rob Bearman <robbear@hyperfine.com> Co-authored-by: helmi.nour <helmiinour@gmail.com>
1 parent c6b1820 commit 7c1b206

File tree

9 files changed

+13371
-31
lines changed

9 files changed

+13371
-31
lines changed

client/default.nix

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This file has been generated by node2nix 1.8.0. Do not edit!
2+
3+
{pkgs ? import <nixpkgs> {
4+
inherit system;
5+
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-14_x"}:
6+
7+
let
8+
nodeEnv = import ./node-env.nix {
9+
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
10+
inherit nodejs;
11+
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
12+
};
13+
in
14+
import ./node-packages.nix {
15+
inherit (pkgs) fetchurl fetchgit;
16+
inherit nodeEnv;
17+
}

0 commit comments

Comments
 (0)