summaryrefslogtreecommitdiff
path: root/poc/web_swarm/default.nix
blob: e9ea10805c94304e943040db5dbdb40a473f59e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ pkgs ? import <nixpkgs> {}
, stdenv
, pname
, version
, kel
}:

{
	# Orchestrator and native worker share a SConstruct and are checked against
	# each other, so they are one derivation.
	native = pkgs.callPackage ./.nix/derivation.nix {
		inherit stdenv pname version kel;
	};

	# The browser worker is separate: different toolchain, and it cannot be
	# tested in a check phase because a check phase has no browser.
	worker = pkgs.callPackage ./worker/.nix/derivation.nix {
		inherit stdenv pname version kel;
	};
}