Skip to content

Commit

Permalink
python3.tests.condaExamplePackage: Exclude on non-linux
Browse files Browse the repository at this point in the history
Allow python3.tests to eval on other platforms than linux, by excluding
conda tests when not on linux, because they include alsa-lib, which is
linux-only.
  • Loading branch information
mweinelt committed Feb 11, 2023
1 parent ee90eca commit 20c723d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/interpreters/python/tests.nix
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ let
}
) {};
pythonWithRequests = requests.pythonModule.withPackages (ps: [ requests ]);
in
in lib.optionalAttrs stdenv.isLinux
{
condaExamplePackage = runCommand "import-requests" {} ''
${pythonWithRequests.interpreter} -c "import requests" > $out
Expand Down

0 comments on commit 20c723d

Please sign in to comment.