at 18.09-beta 642 B view raw
1/* 2 test for example like this 3 $ hydra-eval-jobs pkgs/top-level/release-python.nix 4*/ 5 6{ # The platforms for which we build Nixpkgs. 7 supportedSystems ? [ "x86_64-linux" ] 8}: 9 10with import ./release-lib.nix {inherit supportedSystems; }; 11with lib; 12 13let 14 packagePython = mapAttrs (name: value: 15 let res = builtins.tryEval ( 16 if isDerivation value then 17 value.meta.isBuildPythonPackage or [] 18 else if value.recurseForDerivations or false || value.recurseForRelease or false then 19 packagePython value 20 else 21 []); 22 in if res.success then res.value else [] 23 ); 24in (mapTestOn (packagePython pkgs))