c2812bebdb
- disable tests on macos due to https://github.com/actions/virtual-environments/issues/60 - enable testing of different mach-nix expressions in ./tests - fix cryptography package < 3.4
22 lines
585 B
Nix
22 lines
585 B
Nix
{
|
|
mach-nix ? import ../. {},
|
|
...
|
|
}:
|
|
with builtins;
|
|
let
|
|
pyEnv = (builtins.getFlake (toString ../.)).packages.x86_64-linux.gen.python.requests;
|
|
pyEnvShell = (builtins.getFlake (toString ../.)).packages.x86_64-linux.gen.shell.requests;
|
|
pyEnvDockerImage = (builtins.getFlake (toString ../.)).packages.x86_64-linux.gen.docker.requests;
|
|
in
|
|
(map (p:
|
|
if p ? _passthru.python.pkgs.requests then
|
|
p
|
|
else
|
|
throw "Error"
|
|
) [pyEnv pyEnvDockerImage])
|
|
++ [
|
|
(if ! pyEnvShell ? _passthru.python.pkgs.requests then
|
|
throw "Error with shell"
|
|
else
|
|
mach-nix.nixpkgs.hello)
|
|
]
|