-
Notifications
You must be signed in to change notification settings - Fork 1
/
overlay.nix
60 lines (48 loc) · 1.83 KB
/
overlay.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
final: prev: {
# generated using
#
# nix run nixpkgs#cabal2nix -- --maintainer wucke13 --subpath capDL-tool --dont-fetch-submodules https://github.com/seL4/capdl.git > pkgs/capdl.nix
capDL-tool =
let
hsPkgs = final.haskellPackages.override {
overrides = final': prev': {
MissingH = final.haskell.lib.overrideCabal prev'.MissingH {
version = "1.5.0.1";
sha256 = "sha256-yy+kpipgnsa8+i6raubTTG9b+6Uj/tjcDAVbMXZzIjE=";
revision = "1";
editedCabalFile = "sha256-9mLTXlTu5Va/bxqOxDGXKJhUMmiehE5hGwLpWBN7UaI=";
};
};
};
in
hsPkgs.callPackage pkgs/capDL-tool.nix { };
# Fetcher that uses Google's repo tool. Kinf of cursed, had some issues with determinism.
# Hopefully now it's fully deterministic.
# https://android.googlesource.com/tools/repo
fetchGoogleRepoTool = prev.callPackage pkgs/fetch-google-repo-tool.nix { };
# microkit
microkit-sdk = prev.callPackage pkgs/microkit-sdk.nix { };
# overlay python packages
pythonPackagesOverlays = (prev.pythonPackagesOverlays or [ ]) ++ [
(python-final: python-prev: {
guardonce = python-final.callPackage pkgs/guardonce.nix { };
pyfdt = python-final.callPackage pkgs/pyfdt.nix { };
concurrencytest = python-final.callPackage pkgs/concurrencytest.nix { };
seL4-deps = python-final.callPackage pkgs/seL4-deps.nix {
inherit (python-final) guardonce pyfdt;
};
camkes-deps = python-final.callPackage pkgs/camkes-deps.nix {
inherit (python-final) pyfdt seL4-deps concurrencytest;
};
})
];
python3 =
let
self = prev.python3.override {
inherit self;
packageOverrides = prev.lib.composeManyExtensions final.pythonPackagesOverlays;
};
in
self;
python3Packages = final.python3.pkgs;
}