-
Notifications
You must be signed in to change notification settings - Fork 0
/
tests.nix
46 lines (39 loc) · 963 Bytes
/
tests.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ pkgs ? import <nixpkgs> {} }:
let
berry2nix = pkgs.callPackage ./lib.nix {};
inherit (pkgs.callPackage ./yarn {}) yarn-patched;
in
{
github = berry2nix.mkBerryModules {
name = "github";
src = ./tests/github;
};
github-patched-yarn = berry2nix.mkBerryModules {
name = "github";
src = ./tests/github;
yarn = yarn-patched;
};
workspace = berry2nix.mkBerryWorkspace {
name = "workspace";
src = ./tests/workspace;
};
workspace-patched-yarn = berry2nix.mkBerryWorkspace {
name = "workspace";
src = ./tests/workspace;
yarn = yarn-patched;
};
production = berry2nix.mkBerryModules {
name = "production";
src = ./tests/production;
production = true;
};
esbuild = berry2nix.mkBerryModules {
name = "esbuild";
src = ./tests/esbuild;
};
esbuild-patched-yarn = berry2nix.mkBerryModules {
name = "esbuild";
src = ./tests/esbuild-patched;
yarn = yarn-patched;
};
}