diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-02-11 23:22:09 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-02-11 23:22:09 +0100 |
commit | 20c723dd070792a0e6b56df0e7b173975867ddb3 (patch) | |
tree | e55ad7a40a81ddeb4d1a5628899ef3ea150e2631 /pkgs/development/interpreters/python | |
parent | ee90eca180f2c42afc3b2365ec47e7bc9d90ace5 (diff) | |
download | nixpkgs-20c723dd070792a0e6b56df0e7b173975867ddb3.tar nixpkgs-20c723dd070792a0e6b56df0e7b173975867ddb3.tar.gz nixpkgs-20c723dd070792a0e6b56df0e7b173975867ddb3.tar.bz2 nixpkgs-20c723dd070792a0e6b56df0e7b173975867ddb3.tar.lz nixpkgs-20c723dd070792a0e6b56df0e7b173975867ddb3.tar.xz nixpkgs-20c723dd070792a0e6b56df0e7b173975867ddb3.tar.zst nixpkgs-20c723dd070792a0e6b56df0e7b173975867ddb3.zip |
python3.tests.condaExamplePackage: Exclude on non-linux
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.
Diffstat (limited to 'pkgs/development/interpreters/python')
-rw-r--r-- | pkgs/development/interpreters/python/tests.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/tests.nix b/pkgs/development/interpreters/python/tests.nix index 037c8f87b8b..6282b0f6690 100644 --- a/pkgs/development/interpreters/python/tests.nix +++ b/pkgs/development/interpreters/python/tests.nix @@ -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 |