Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
663 B · 43 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies pytorch-lightning,
# tests psutil, pytestCheckHook,}:
buildPythonPackage { pname = "lightning"; pyproject = true;
inherit (pytorch-lightning) version src build-system meta ;
dependencies = pytorch-lightning.dependencies ++ [ pytorch-lightning ];
nativeCheckInputs = [ psutil pytestCheckHook ];
# Some packages are not in NixPkgs; other tests try to build distributed # models, which doesn't work in the sandbox. doCheck = false;
pythonImportsCheck = [ "lightning" "lightning.pytorch" ];}