···30303131 dataDir = mkOption {
3232 default = [ "/var/lib/minio/data" ];
3333- type = types.listOf types.path;
3434- description = lib.mdDoc "The list of data directories for storing the objects. Use one path for regular operation and the minimum of 4 endpoints for Erasure Code mode.";
3333+ type = types.listOf (types.either types.path types.str);
3434+ description = lib.mdDoc "The list of data directories or nodes for storing the objects. Use one path for regular operation and the minimum of 4 endpoints for Erasure Code mode.";
3535 };
36363737 configDir = mkOption {
···9999 systemd = lib.mkMerge [{
100100 tmpfiles.rules = [
101101 "d '${cfg.configDir}' - minio minio - -"
102102- ] ++ (map (x: "d '" + x + "' - minio minio - - ") cfg.dataDir);
102102+ ] ++ (map (x: "d '" + x + "' - minio minio - - ") (builtins.filter lib.types.path.check cfg.dataDir));
103103104104 services.minio = {
105105 description = "Minio Object Storage";
···4545 ];
46464747 meta = with lib; {
4848+ changelog = "https://github.com/streamlink/streamlink/raw/${version}/CHANGELOG.md";
4949+ description = "CLI for extracting streams from various websites to video player of your choosing";
4850 homepage = "https://streamlink.github.io/";
4949- description = "CLI for extracting streams from various websites to video player of your choosing";
5051 longDescription = ''
5152 Streamlink is a CLI utility that pipes videos from online
5253 streaming services to a variety of video players such as VLC, or
···54555556 Streamlink is a fork of the livestreamer project.
5657 '';
5757- changelog = "https://github.com/streamlink/streamlink/raw/${version}/CHANGELOG.md";
5858 license = licenses.bsd2;
5959+ mainProgram = "streamlink";
5960 maintainers = with maintainers; [ dezgeg zraexy DeeUnderscore ];
6061 };
6162}
+3-2
pkgs/applications/window-managers/sway/bg.nix
···26262727 meta = with lib; {
2828 description = "Wallpaper tool for Wayland compositors";
2929+ inherit (src.meta) homepage;
2930 longDescription = ''
3031 A wallpaper utility for Wayland compositors, that is compatible with any
3132 Wayland compositor which implements the following Wayland protocols:
3233 wlr-layer-shell, xdg-output, and xdg-shell.
3334 '';
3434- inherit (src.meta) homepage;
3535 license = licenses.mit;
3636- platforms = platforms.linux;
3636+ mainProgram = "swaybg";
3737 maintainers = with maintainers; [ primeos ];
3838+ platforms = platforms.linux;
3839 };
3940}
+4-3
pkgs/applications/window-managers/sway/idle.nix
···1212 owner = "swaywm";
1313 repo = "swayidle";
1414 rev = version;
1515- sha256 = "sha256-/U6Y9H5ZqIJph3TZVcwr9+Qfd6NZNYComXuC1D9uGHg=";
1515+ hash = "sha256-/U6Y9H5ZqIJph3TZVcwr9+Qfd6NZNYComXuC1D9uGHg=";
1616 };
17171818 strictDeps = true;
···29293030 meta = with lib; {
3131 description = "Idle management daemon for Wayland";
3232+ inherit (src.meta) homepage;
3233 longDescription = ''
3334 Sway's idle management daemon. It is compatible with any Wayland
3435 compositor which implements the KDE idle protocol.
3536 '';
3636- inherit (src.meta) homepage;
3737 license = licenses.mit;
3838- platforms = platforms.linux;
3838+ mainProgram = "swayidle";
3939 maintainers = with maintainers; [ primeos ];
4040+ platforms = platforms.linux;
4041 };
4142}
···3131 ];
32323333 postPatch = ''
3434+ # The line below is in the [build-system] section, which is invalid and
3535+ # rejected by PyPA's build tool. It belongs in [project] but upstream has
3636+ # had problems with putting that there (see comment in pyproject.toml).
3737+ sed -i '/requires-python/d' pyproject.toml
3838+3939+ substituteInPlace pyproject.toml \
4040+ --replace '"poetry>=1.3.2",' ""
4141+3442 patchShebangs tests
3543 '';
3644
+11
pkgs/development/python-modules/cvxpy/default.nix
···1111, scipy
1212, scs
1313, setuptools
1414+, wheel
1415, useOpenmp ? (!stdenv.isDarwin)
1516}:
1617···2526 inherit pname version;
2627 hash = "sha256-C2heUEDxmfPXA/MPXSLR+GVZdiNFUVPR3ddwJFrvCXU=";
2728 };
2929+3030+ # we need to patch out numpy version caps from upstream
3131+ postPatch = ''
3232+ sed -i 's/\(numpy>=[0-9.]*\),<[0-9.]*;/\1;/g' pyproject.toml
3333+ '';
3434+3535+ nativeBuildInputs = [
3636+ setuptools
3737+ wheel
3838+ ];
28392940 propagatedBuildInputs = [
3041 cvxopt
···2727let
2828 inherit (cudaPackages) cudatoolkit;
2929in buildPythonPackage rec {
3030- # Using an untagged version, with numpy 1.25 support
3030+ # Using an untagged version, with numpy 1.25 support, when it's released
3131+ # also drop the versioneer patch in postPatch
3132 version = "unstable-2023-08-02";
3233 pname = "numba";
3334 format = "setuptools";
···7778 cuda_toolkit_lib_path = cudatoolkit.lib;
7879 })
7980 ];
8181+ # with untagged version we need to specify the correct version ourselves
8282+8383+ postPatch = ''
8484+ substituteInPlace setup.py --replace "version=versioneer.get_version()" "version='0.57.1'"
8585+ substituteInPlace numba/_version.py \
8686+ --replace 'git_refnames = ""' 'git_refnames = "0.57.1"'
8787+ '';
80888189 postFixup = lib.optionalString cudaSupport ''
8290 find $out -type f \( -name '*.so' -or -name '*.so.*' \) | while read lib; do
···11+--- a/Cargo.lock
22++++ b/Cargo.lock
33+@@ -2468,7 +2468,7 @@ dependencies = [
44+ [[package]]
55+ name = "svg2pdf"
66+ version = "0.5.0"
77+-source = "git+https://github.com/typst/svg2pdf.git??tag=v0.5.0#39daf9fc2ee84b62b0e3b174ff8c9017f655af6b"
88++source = "git+https://github.com/typst/svg2pdf.git#39daf9fc2ee84b62b0e3b174ff8c9017f655af6b"
99+ dependencies = [
1010+ "image",
1111+ "miniz_oxide",
1212+--- a/Cargo.toml
1313++++ b/Cargo.toml
1414+@@ -84,13 +84,5 @@ reqwest = { version = "0.11.18", default-features = false, features = [
1515+ "rustls-tls",
1616+ ] }
1717+1818+-
1919+-# Typst 0.6.0 does not specify a tag or ref for svg2pdf, so provide one...
2020+-# ...but Cargo doesn't want to make our lives too easy, and we can't replace the
2121+-# dependency with another at the same URL. Use a workaroud inspired by
2222+-# StackOverflow: https://stackoverflow.com/a/72261235
2323+-[patch."https://github.com/typst/svg2pdf"]
2424+-svg2pdf = { git = "https://github.com/typst/svg2pdf.git?", tag = "v0.5.0" }
2525+-
2626+ [dev-dependencies]
2727+ temp-dir = "0.1.11"
···47474848 meta = with lib; {
4949 description = "Tool for retrieving files using HTTP, HTTPS, and FTP";
5050+ homepage = "https://www.gnu.org/software/wget/";
5151+ license = licenses.gpl3Plus;
5052 longDescription =
5153 '' GNU Wget is a free software package for retrieving files using HTTP,
5254 HTTPS and FTP, the most widely-used Internet protocols. It is a
5355 non-interactive commandline tool, so it may easily be called from
5456 scripts, cron jobs, terminals without X-Windows support, etc.
5557 '';
5656- license = licenses.gpl3Plus;
5757- homepage = "https://www.gnu.org/software/wget/";
5858+ mainProgram = "wget";
5859 maintainers = with maintainers; [ fpletz ];
5960 platforms = platforms.all;
6061 };