-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
26 lines (22 loc) · 982 Bytes
/
default.nix
File metadata and controls
26 lines (22 loc) · 982 Bytes
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
{ pkgsFun ? import <nixpkgs>
, pkgs ? pkgsFun {}
, lib ? pkgs.lib
}: let
# this is GitHub version of the Coil umbrella .nix file
repo = name: builtins.fetchGit {
url = "https://github.com/quyse/${name}.git";
};
in lib.makeScope lib.callPackageWith (coil: lib.makeExtensible (_: with coil; {
inherit pkgsFun pkgs coil;
core = callPackage (repo "coil-core") {};
toolchain = callPackage (repo "coil-toolchain") {};
toolchain-linux = callPackage (repo "coil-toolchain-linux") {};
toolchain-windows = callPackage (repo "coil-toolchain-windows") {};
toolchain-msvs = callPackage (repo "coil-toolchain-msvs") {};
toolchain-macos = callPackage (repo "coil-toolchain-macos") {};
toolchain-deploy = callPackage (repo "coil-toolchain-deploy") {};
# a number of projects is not public due to non-redistributable dependencies
# they are optional for other projects, but need to be set to null explicitly
toolchain-steam = null;
toolchain-switch = null;
}))