calibre-web: only use nixosTests on linux
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
nixosTests,
|
||||
@@ -139,7 +140,7 @@ python3Packages.buildPythonApplication rec {
|
||||
pythonImportsCheck = [ "calibreweb" ];
|
||||
|
||||
passthru = {
|
||||
tests.calibre-web = nixosTests.calibre-web;
|
||||
tests = lib.optionalAttrs stdenv.hostPlatform.isLinux { inherit (nixosTests) calibre-web; };
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user