forked from IntersectMBO/cardano-node-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
33 lines (29 loc) · 770 Bytes
/
shell.nix
File metadata and controls
33 lines (29 loc) · 770 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
27
28
29
30
31
32
33
{
cardanoNodePkgs ? import ((import ./nix/sources.nix {}).cardano-node + "/nix") {}
}:
let
pkgs = cardanoNodePkgs.extend (_: super: {
python3 = super.python3.override {
packageOverrides = self: _: {
allure = self.callPackage ./nix/allure.nix {};
pytest-allure = self.callPackage ./nix/pytest-allure.nix {};
};
};
});
shell = cardanoNodePkgs.cardanoNodeShell.devops.overrideAttrs (oldAttrs: rec {
buildInputs = oldAttrs.buildInputs ++ [ pkgs.git (pkgs.python3.withPackages (ps: with ps; [
pytest
allure
pytest-allure
pytest-html
pytest-ordering
pytest_xdist
setuptools
filelock
pylint
mypy
hypothesis
cbor2
])) ];
});
in shell