···153 package = mkOption {
154 type = types.package;
155 description = "Which package to use for the Nextcloud instance.";
156- relatedPackages = [ "nextcloud22" "nextcloud23" ];
157 };
158 phpPackage = mkOption {
159 type = types.package;
160- relatedPackages = [ "php74" "php80" ];
161 defaultText = "pkgs.php";
162 description = ''
163 PHP package to use for Nextcloud.
···568569 config = mkIf cfg.enable (mkMerge [
570 { warnings = let
571- latest = 23;
572 upgradeWarning = major: nixos:
573 ''
574 A legacy Nextcloud install (from before NixOS ${nixos}) may be installed.
···604 ++ (optional (versionOlder cfg.package.version "21") (upgradeWarning 20 "21.05"))
605 ++ (optional (versionOlder cfg.package.version "22") (upgradeWarning 21 "21.11"))
606 ++ (optional (versionOlder cfg.package.version "23") (upgradeWarning 22 "22.05"))
0607 ++ (optional isUnsupportedMariadb ''
608 You seem to be using MariaDB at an unsupported version (i.e. at least 10.6)!
609 Please note that this isn't supported officially by Nextcloud. You can either
···626 ''
627 else if versionOlder stateVersion "21.11" then nextcloud21
628 else if versionOlder stateVersion "22.05" then nextcloud22
629- else nextcloud23
630 );
631632 services.nextcloud.datadir = mkOptionDefault config.services.nextcloud.home;
633634 services.nextcloud.phpPackage =
635 if versionOlder cfg.package.version "21" then pkgs.php74
636- else pkgs.php80;
0637 }
638639 { assertions = [
···884 # FIXME(@Ma27) Nextcloud isn't compatible with mariadb 10.6,
885 # this is a workaround.
886 # See https://help.nextcloud.com/t/update-to-next-cloud-21-0-2-has-get-an-error/117028/22
887- settings = {
888 mysqld = {
889 innodb_read_only_compressed = 0;
890 };
···153 package = mkOption {
154 type = types.package;
155 description = "Which package to use for the Nextcloud instance.";
156+ relatedPackages = [ "nextcloud22" "nextcloud23" "nextcloud24" ];
157 };
158 phpPackage = mkOption {
159 type = types.package;
160+ relatedPackages = [ "php74" "php80" "php81" ];
161 defaultText = "pkgs.php";
162 description = ''
163 PHP package to use for Nextcloud.
···568569 config = mkIf cfg.enable (mkMerge [
570 { warnings = let
571+ latest = 24;
572 upgradeWarning = major: nixos:
573 ''
574 A legacy Nextcloud install (from before NixOS ${nixos}) may be installed.
···604 ++ (optional (versionOlder cfg.package.version "21") (upgradeWarning 20 "21.05"))
605 ++ (optional (versionOlder cfg.package.version "22") (upgradeWarning 21 "21.11"))
606 ++ (optional (versionOlder cfg.package.version "23") (upgradeWarning 22 "22.05"))
607+ ++ (optional (versionOlder cfg.package.version "24") (upgradeWarning 23 "22.05"))
608 ++ (optional isUnsupportedMariadb ''
609 You seem to be using MariaDB at an unsupported version (i.e. at least 10.6)!
610 Please note that this isn't supported officially by Nextcloud. You can either
···627 ''
628 else if versionOlder stateVersion "21.11" then nextcloud21
629 else if versionOlder stateVersion "22.05" then nextcloud22
630+ else nextcloud24
631 );
632633 services.nextcloud.datadir = mkOptionDefault config.services.nextcloud.home;
634635 services.nextcloud.phpPackage =
636 if versionOlder cfg.package.version "21" then pkgs.php74
637+ else if versionOlder cfg.package.version "24" then pkgs.php80
638+ else pkgs.php81;
639 }
640641 { assertions = [
···886 # FIXME(@Ma27) Nextcloud isn't compatible with mariadb 10.6,
887 # this is a workaround.
888 # See https://help.nextcloud.com/t/update-to-next-cloud-21-0-2-has-get-an-error/117028/22
889+ settings = mkIf (versionOlder cfg.package.version "24") {
890 mysqld = {
891 innodb_read_only_compressed = 0;
892 };
+1-1
nixos/modules/services/web-apps/nextcloud.xml
···11 desktop client is packaged at <literal>pkgs.nextcloud-client</literal>.
12 </para>
13 <para>
14- The current default by NixOS is <package>nextcloud23</package> which is also the latest
15 major version available.
16 </para>
17 <section xml:id="module-services-nextcloud-basic-usage">
···11 desktop client is packaged at <literal>pkgs.nextcloud-client</literal>.
12 </para>
13 <para>
14+ The current default by NixOS is <package>nextcloud24</package> which is also the latest
15 major version available.
16 </para>
17 <section xml:id="module-services-nextcloud-basic-usage">
···2# executable that matches that packages name, so that they'll work with `nix run`.
3{
4 # Packages that provide multiple executables where one is clearly the `mainProgram`.
000005 typescript = "tsc";
067 # Packages that provide a single executable whose name differs from the package's `name`.
8 "@angular/cli" = "ng";
···2# executable that matches that packages name, so that they'll work with `nix run`.
3{
4 # Packages that provide multiple executables where one is clearly the `mainProgram`.
5+ "@antfu/ni" = "ni";
6+ "@electron-forge/cli" = "electron-forge";
7+ "@squoosh/cli" = "squoosh-cli";
8+ "@webassemblyjs/cli" = "wasm2wast";
9+ coffee-script = "coffee";
10 typescript = "tsc";
11+ vue-cli = "vue";
1213 # Packages that provide a single executable whose name differs from the package's `name`.
14 "@angular/cli" = "ng";
···1{ lib
2, stdenv
3, fetchFromGitHub
04}:
56stdenv.mkDerivation rec {
···13 rev = "v${version}";
14 sha256 = "sha256-uu/zN6W0ue526/3a9QeYg6J4HLaovZJVOYXksjouYok=";
15 };
00000000000000000000001617 meta = with lib; {
18 description = "A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies";
···1{ lib
2, stdenv
3, fetchFromGitHub
4+, fetchpatch
5}:
67stdenv.mkDerivation rec {
···14 rev = "v${version}";
15 sha256 = "sha256-uu/zN6W0ue526/3a9QeYg6J4HLaovZJVOYXksjouYok=";
16 };
17+18+ patches = [
19+ # zsh completion
20+ (fetchpatch {
21+ url = "https://github.com/rofl0r/proxychains-ng/commit/04023d3811d8ee34b498b429bac7a871045de59c.patch";
22+ sha256 = "sha256-Xcg2kmAhj/OJn/RKJAxb9MOJNJQY7FXmxEIzQ5dvabo=";
23+ })
24+ (fetchpatch {
25+ url = "https://github.com/rofl0r/proxychains-ng/commit/9b42da71f4df7b783cf07a58ffa095e293c43380.patch";
26+ sha256 = "sha256-tYv9XP51WtsjaoklwQk3D/MQceoOvtdMwBraECt6AXQ=";
27+ })
28+ ];
29+30+ installFlags = [
31+ "install-config"
32+ # TODO: check on next update if that works and remove postInstall
33+ # "install-zsh-completion"
34+ ];
35+36+ postInstall = ''
37+ ./tools/install.sh -D -m 644 completions/_proxychains $out/share/zsh/site_functions/_proxychains4
38+ '';
3940 meta = with lib; {
41 description = "A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies";
+4
pkgs/tools/networking/proxychains/default.nix
···19 substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation"
20 '';
21000022 meta = with lib; {
23 description = "Proxifier for SOCKS proxies";
24 homepage = "http://proxychains.sourceforge.net";