···5454*/
55555656assert deepClone -> leaveDotGit;
5757-assert nonConeMode -> !(sparseCheckout == "" || sparseCheckout == []);
5757+assert nonConeMode -> (sparseCheckout != []);
58585959if md5 != "" then
6060 throw "fetchgit does not support md5 anymore, please use sha256"
6161else if hash != "" && sha256 != "" then
6262 throw "Only one of sha256 or hash can be set"
6363+else if builtins.isString sparseCheckout then
6464+ # Changed to throw on 2023-06-04
6565+ throw "Please provide directories/patterns for sparse checkout as a list of strings. Passing a (multi-line) string is not supported any more."
6366else
6464-# Added 2022-11-12
6565-lib.warnIf (builtins.isString sparseCheckout)
6666- "Please provide directories/patterns for sparse checkout as a list of strings. Support for passing a (multi-line) string is deprecated and will be removed in the next release."
6767stdenvNoCC.mkDerivation {
6868 inherit name;
6969 builder = ./builder.sh;
···8484 # git-sparse-checkout(1) says:
8585 # > When the --stdin option is provided, the directories or patterns are read
8686 # > from standard in as a newline-delimited list instead of from the arguments.
8787- sparseCheckout = if builtins.isString sparseCheckout then sparseCheckout else builtins.concatStringsSep "\n" sparseCheckout;
8787+ sparseCheckout = builtins.concatStringsSep "\n" sparseCheckout;
88888989 inherit url rev leaveDotGit fetchLFS fetchSubmodules deepClone branchName nonConeMode postFetch;
9090
+1-1
pkgs/build-support/fetchgithub/default.nix
···2525 };
2626 passthruAttrs = removeAttrs args [ "owner" "repo" "rev" "fetchSubmodules" "forceFetchGit" "private" "githubBase" "varPrefix" ];
2727 varBase = "NIX${if varPrefix == null then "" else "_${varPrefix}"}_GITHUB_PRIVATE_";
2828- useFetchGit = fetchSubmodules || (leaveDotGit == true) || deepClone || forceFetchGit || !(sparseCheckout == "" || sparseCheckout == []);
2828+ useFetchGit = fetchSubmodules || (leaveDotGit == true) || deepClone || forceFetchGit || (sparseCheckout != []);
2929 # We prefer fetchzip in cases we don't need submodules as the hash
3030 # is more stable in that case.
3131 fetcher = if useFetchGit then fetchgit else fetchzip;
···17171818 cmakeFlags = [
1919 "-DCPP-NETLIB_BUILD_SHARED_LIBS=ON"
2020+ # fatal error: 'boost/asio/stream_socket_service.hpp' file not found
2121+ "-DCPP-NETLIB_BUILD_EXAMPLES=OFF"
2222+ "-DCPP-NETLIB_BUILD_TESTS=OFF"
2023 ];
21242225 # Most tests make network GET requests to various websites
···4141 ansible-later = throw "ansible-later has been promoted to a top-level attribute"; # Added 2023-05-16
4242 ansible-lint = throw "ansible-lint has been promoted to a top-level attribute"; # Added 2023-05-16
4343 anyjson = throw "anyjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
4444+ apache-airflow = throw "apache-airflow has been moved out of pythonPackages and is available as a standalone package"; # added 2023-06-05
4445 argon2_cffi = argon2-cffi; # added 2022-05-09
4546 APScheduler = apscheduler; # added 2023-02-19
4647 asyncio-nats-client = nats-py; # added 2022-02-08