calibre-web: only use nixosTests on linux

This commit is contained in:
seth
2025-03-15 12:26:42 -04:00
committed by Seth Flynn
parent 7bdcfa1db8
commit c303ae59c7
+2 -1
View File
@@ -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 { };
};