blob: 8e04078f75d1a5fa90457a78164a52d723e92a82 (
plain) (
blame)
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
|
{
systemsAttributes,
nixpkgs,
self,
inputs,
}:
{
nixpkgsAllowUnfree ? false,
nixpkgsCudaSupport ? false,
nixpkgsAllowUnfreePredicate ? [ ],
nixpkgsExtraConfig ? { },
}:
(systemsAttributes (
system:
import nixpkgs {
inherit system;
overlays = (import "${self}/lib/overlays.nix" { inherit self; }) ++ [
(_final: _prev: {
tsutsumi = inputs.tsutsumi.packages.${system};
})
];
config = {
allowUnfree = nixpkgsAllowUnfree;
cudaSupport = nixpkgsCudaSupport;
allowUnfreePredicate = nixpkgsAllowUnfreePredicate;
} // nixpkgsExtraConfig;
}
))
|